Skip to content

Commit

Permalink
Fix dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Nov 13, 2023
1 parent c5f23ce commit 150c295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/components/useGlobalShortcut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ export const useGlobalShortcut = (shortcutKey: string | undefined, useCtrl: bool
};
window.addEventListener('keydown', handleKeyDown);
return () => window.removeEventListener('keydown', handleKeyDown);
}, [callback, shortcutKey, useCtrl, useShift]);
}, [callback, shortcutKey, useAlt, useCtrl, useShift]);
};

0 comments on commit 150c295

Please sign in to comment.