summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/web/src/components/keyboard-shortcuts-help.tsx7
1 files changed, 7 insertions, 0 deletions
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 = () => {
</div>
))}
</div>
+ <DialogFooter>
+ <Button size="sm" className="mt-4" onClick={resetToDefaults}>
+ Reset to Defaults
+ </Button>
+ </DialogFooter>
</DialogContent>
</Dialog>
);