fix: skip unknown actions in keyboard shortcuts help
This commit is contained in:
parent
ee372266ca
commit
4e8b7d3745
|
|
@ -57,6 +57,9 @@ export function useKeyboardShortcutsHelp() {
|
|||
[TActionWithOptionalArgs, string[]]
|
||||
>) {
|
||||
const actionDef = ACTIONS[action];
|
||||
if (!actionDef) {
|
||||
continue;
|
||||
}
|
||||
result.push({
|
||||
id: action,
|
||||
keys,
|
||||
|
|
|
|||
Loading…
Reference in New Issue