Fixed linting error in AdminX

refs. https://github.com/TryGhost/Team/issues/3150
This commit is contained in:
Peter Zimon 2023-05-24 16:59:33 +02:00
parent a4c2c2ebcf
commit b47bfde51b

View File

@ -77,7 +77,7 @@ const Modal: React.FC<ModalProps> = ({size = 'md', title, okLabel, cancelLabel,
backdropStyles += ' p-[2vmin]';
}
const handleBackdropClick = (e: React.MouseEvent<HTMLDivElement>) => {
const handleBackdropClick = () => {
modal.remove();
};