mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 15:55:08 +03:00
Fixed linting error in AdminX
refs. https://github.com/TryGhost/Team/issues/3150
This commit is contained in:
parent
a4c2c2ebcf
commit
b47bfde51b
@ -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();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user