Skip to content

Commit 387cb0e

Browse files
committed
fix: nanofix
1 parent 155ba88 commit 387cb0e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/containers/AsideNavigation/AsideNavigation.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,7 @@ export function AsideNavigation(props: AsideNavigationProps) {
9898

9999
React.useEffect(() => {
100100
// Register hotkey for keyboard shortcuts
101-
hotkeys(SHORTCUTS_HOTKEY, (event) => {
102-
event.preventDefault();
103-
setVisiblePanel(Panel.Hotkeys);
104-
});
101+
hotkeys(SHORTCUTS_HOTKEY, openHotkeysPanel);
105102

106103
// Add listener for custom event from Monaco editor
107104
const handleOpenKeyboardShortcutsPanel = () => {

0 commit comments

Comments
 (0)