From f98651cd331c0753e9d13015bf07dad8d0c98047 Mon Sep 17 00:00:00 2001 From: Kha Nguyen Date: Tue, 22 Jul 2025 19:12:57 -0500 Subject: [PATCH] fix: add reset button for custom shorcuts --- apps/web/src/components/keyboard-shortcuts-help.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/web/src/components/keyboard-shortcuts-help.tsx b/apps/web/src/components/keyboard-shortcuts-help.tsx index db31c527..8b4c6274 100644 --- a/apps/web/src/components/keyboard-shortcuts-help.tsx +++ b/apps/web/src/components/keyboard-shortcuts-help.tsx @@ -6,6 +6,7 @@ import { Dialog, DialogContent, DialogDescription, + DialogFooter, DialogHeader, DialogTitle, DialogTrigger, @@ -127,6 +128,7 @@ export const KeyboardShortcutsHelp = () => { validateKeybinding, getKeybindingsForAction, setIsRecording, + resetToDefaults, } = useKeybindingsStore(); // Get shortcuts from centralized hook @@ -240,6 +242,11 @@ export const KeyboardShortcutsHelp = () => { ))} + + + );