fix: skip unknown actions in keyboard shortcuts help

This commit is contained in:
Maze Winther 2026-04-15 03:47:57 +02:00
parent ee372266ca
commit 4e8b7d3745
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ export function useKeyboardShortcutsHelp() {
[TActionWithOptionalArgs, string[]]
>) {
const actionDef = ACTIONS[action];
if (!actionDef) {
continue;
}
result.push({
id: action,
keys,