diff --git a/app/src/protyle/util/compatibility.ts b/app/src/protyle/util/compatibility.ts index b246e2c95..30c2c04dd 100644 --- a/app/src/protyle/util/compatibility.ts +++ b/app/src/protyle/util/compatibility.ts @@ -93,7 +93,7 @@ export const updateHotkeyTip = (hotkey: string) => { ".": ">", })); - let keys = []; + const keys = []; if (hotkey.indexOf("⌘") > -1) keys.push(KEY_MAP.get("⌘")); if (hotkey.indexOf("⇧") > -1) keys.push(KEY_MAP.get("⇧"));