diff --git a/packages/storybook/.storybook/mocks/app/context/command.ts b/packages/storybook/.storybook/mocks/app/context/command.ts index 1aa0423d3cc..673019f2f0a 100644 --- a/packages/storybook/.storybook/mocks/app/context/command.ts +++ b/packages/storybook/.storybook/mocks/app/context/command.ts @@ -8,6 +8,10 @@ const keybinds: Record = { "model.variant.cycle": "mod+shift+m", } +export function formatKeybind(config: string) { + return config === "none" ? "" : config +} + export function useCommand() { return { options: [],