diff --git a/src/components/ContextMenu.tsx b/src/components/ContextMenu.tsx index 0d192f42c..42d654207 100644 --- a/src/components/ContextMenu.tsx +++ b/src/components/ContextMenu.tsx @@ -5,7 +5,6 @@ import { t, TranslationKeys } from "../i18n"; import "./ContextMenu.scss"; import { getShortcutFromShortcutName, - CustomShortcutName, ShortcutName, } from "../actions/shortcuts"; import { Action } from "../actions/types"; @@ -117,9 +116,7 @@ export const ContextMenu = React.memo(
{label}
{actionName - ? getShortcutFromShortcutName( - actionName as ShortcutName | CustomShortcutName, - ) + ? getShortcutFromShortcutName(actionName as ShortcutName) : ""}