diff --git a/src/components/SettingsBar.js b/src/components/SettingsBar.js index ceb29d1..3d5127c 100644 --- a/src/components/SettingsBar.js +++ b/src/components/SettingsBar.js @@ -23,6 +23,7 @@ function detectOS() { } function friendlyFormatShortcut(shortcut) { + if (!shortcut) return const OS = detectOS() if (OS === OperatingSystems.Windows) { return shortcut.replace(/meta/, 'win')