We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 442cfd9 commit 719faf7Copy full SHA for 719faf7
apps/cli/src/ui/hooks/useGlobalInput.ts
@@ -98,7 +98,7 @@ export function useGlobalInput({
98
const nextMode = availableModes[nextIndex]
99
100
if (nextMode && sendToExtension) {
101
- sendToExtension({ type: "mode", mode: nextMode.slug })
+ sendToExtension({ type: "mode", text: nextMode.slug })
102
showInfo(`Switched to ${nextMode.name}`, 2000)
103
}
104
apps/cli/src/ui/hooks/usePickerHandlers.ts
@@ -73,7 +73,7 @@ export function usePickerHandlers({
73
const modeItem = item as ModeResult
74
75
if (sendToExtension) {
76
- sendToExtension({ type: "mode", mode: modeItem.slug })
+ sendToExtension({ type: "mode", text: modeItem.slug })
77
78
79
autocompleteRef.current?.closePicker()
0 commit comments