fix react-hooks/exhaustive-deps warnings

This commit is contained in:
2026-05-01 04:42:36 +03:00
parent a332293e83
commit 8886abf589
9 changed files with 26 additions and 36 deletions
+1 -2
View File
@@ -117,8 +117,7 @@ export function ShortcutsSection() {
}
window.addEventListener('keydown', onKey, true)
return () => window.removeEventListener('keydown', onKey, true)
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [capturingId, overrides])
}, [capturingId, overrides, commit])
return (
<Section