chore: prevent default

This commit is contained in:
wonderlandpark 2021-03-04 22:06:19 +09:00
parent c8b8d27609
commit a3428d3263

View File

@ -103,7 +103,8 @@ export default function App({ Component, pageProps, err }: KoreanbotsProps): JSX
</div> </div>
</Modal> </Modal>
<GlobalHotKeys keyMap={shortcutKeyMap} handlers={{ <GlobalHotKeys keyMap={shortcutKeyMap} handlers={{
SHORTCUT_HELP: () => { SHORTCUT_HELP: (event) => {
event.preventDefault()
setShortcutModal(value => !value) setShortcutModal(value => !value)
return return
}, },