Fix delete hotkey not working

This commit is contained in:
blessedcoolant 2022-11-11 04:30:06 +13:00
parent 72ea5453ce
commit 4f4c6bbe33

View File

@ -80,7 +80,7 @@ const DeleteImageModal = forwardRef(
}; };
useHotkeys( useHotkeys(
'del', 'delete',
() => { () => {
shouldConfirmOnDelete ? onOpen() : handleDelete(); shouldConfirmOnDelete ? onOpen() : handleDelete();
}, },