mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-06-28 22:11:35 +02:00
Fix for delete alert dialog
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user