mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-05 23:49:52 +00:00
fix(storybook): mock keybind formatter
This commit is contained in:
parent
4511d05c61
commit
8a1f4e7727
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@ const keybinds: Record<string, string> = {
|
|||
"model.variant.cycle": "mod+shift+m",
|
||||
}
|
||||
|
||||
export function formatKeybind(config: string) {
|
||||
return config === "none" ? "" : config
|
||||
}
|
||||
|
||||
export function useCommand() {
|
||||
return {
|
||||
options: [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue