We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5d616a commit fc642acCopy full SHA for fc642ac
1 file changed
src/hooks/useSettingsWindow.ts
@@ -78,7 +78,7 @@ export default function useSettingsWindow() {
78
79
return () => {
80
unlisten.then((fn) => fn());
81
- window.addEventListener("keydown", handleKeyDown);
+ window.removeEventListener("keydown", handleKeyDown);
82
};
83
}, [openSettingsWindow, handleKeyDown]);
84
0 commit comments