mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
chore: prevent default
This commit is contained in:
parent
c8b8d27609
commit
a3428d3263
@ -103,7 +103,8 @@ export default function App({ Component, pageProps, err }: KoreanbotsProps): JSX
|
||||
</div>
|
||||
</Modal>
|
||||
<GlobalHotKeys keyMap={shortcutKeyMap} handlers={{
|
||||
SHORTCUT_HELP: () => {
|
||||
SHORTCUT_HELP: (event) => {
|
||||
event.preventDefault()
|
||||
setShortcutModal(value => !value)
|
||||
return
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user