Fix for delete alert dialog

This commit is contained in:
Elio Struyf
2022-04-01 15:41:57 +02:00
parent 1b0853e23d
commit 912e436ca8
@@ -31,6 +31,7 @@ export const ContentActions: React.FunctionComponent<IContentActionsProps> = ({
if (path) {
Messenger.send(DashboardMessage.deleteFile, path);
}
setShowDeletionAlert(false);
}
const runCustomScript = React.useCallback((e: React.MouseEvent<HTMLButtonElement>, script: CustomScript) => {