diff --git a/src/utils.ts b/src/utils.ts index 48fb9c30..24753315 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -163,7 +163,7 @@ export const getShortcutKey = (shortcut: string): string => { .replace("Ctrl+", "⌃") .replace("Shift+", "⇧") .replace("Del", "⌫") - .replace("Enter", "Return")}`; + .replace(/Enter|Return/, "↩")}`; } return `${shortcut.replace("CtrlOrCmd", "Ctrl")}`; };