From 6b108794ef97c89237a330e4a3a57a73338bfd79 Mon Sep 17 00:00:00 2001 From: igorrCarvalho Date: Sat, 8 Jun 2024 18:35:14 -0300 Subject: [PATCH] Refactor: change command for cmd --- .../pages/ShortcutsPage/EditShortcutButton/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx b/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx index 3f596da57..2596b32c1 100644 --- a/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx +++ b/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx @@ -141,7 +141,7 @@ export default function EditShortcutButton({ fixedKey = "Ctrl"; } if (e.key?.toLowerCase() === "meta") { - fixedKey = "Command"; + fixedKey = "Cmd"; } setKey((oldKey) => getFixedCombination({ oldKey: oldKey!, key: fixedKey }), @@ -156,7 +156,7 @@ export default function EditShortcutButton({ }, [key, setKey]); return ( - + Key Combination {children} -
+
{key === null ? shortcutInitialValue?.toUpperCase()