diff --git a/src/components/keyboard-shortcuts-help.jsx b/src/components/keyboard-shortcuts-help.jsx index fbee4e9f..f36b664e 100644 --- a/src/components/keyboard-shortcuts-help.jsx +++ b/src/components/keyboard-shortcuts-help.jsx @@ -30,24 +30,10 @@ export default memo(function KeyboardShortcutsHelp() { }, ); - const escRef = useHotkeys('esc', onClose, []); - return ( !!snapStates.showKeyboardShortcutsHelp && ( - { - if (e.target === e.currentTarget) { - onClose(); - } - }} - > -
+ +