diff --git a/src/components/shortcuts-settings.jsx b/src/components/shortcuts-settings.jsx index d401334b..84cb01dc 100644 --- a/src/components/shortcuts-settings.jsx +++ b/src/components/shortcuts-settings.jsx @@ -210,6 +210,7 @@ function ShortcutsSettings() { {shortcuts.map((shortcut, i) => { const key = i + Object.values(shortcut); const { type } = shortcut; + if (!SHORTCUTS_META[type]) return null; let { icon, title } = SHORTCUTS_META[type]; if (typeof title === 'function') { title = title(shortcut);