Skip to content

Commit 719faf7

Browse files
committed
PR feedback
1 parent 442cfd9 commit 719faf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/cli/src/ui/hooks/useGlobalInput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export function useGlobalInput({
9898
const nextMode = availableModes[nextIndex]
9999

100100
if (nextMode && sendToExtension) {
101-
sendToExtension({ type: "mode", mode: nextMode.slug })
101+
sendToExtension({ type: "mode", text: nextMode.slug })
102102
showInfo(`Switched to ${nextMode.name}`, 2000)
103103
}
104104

apps/cli/src/ui/hooks/usePickerHandlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export function usePickerHandlers({
7373
const modeItem = item as ModeResult
7474

7575
if (sendToExtension) {
76-
sendToExtension({ type: "mode", mode: modeItem.slug })
76+
sendToExtension({ type: "mode", text: modeItem.slug })
7777
}
7878

7979
autocompleteRef.current?.closePicker()

0 commit comments

Comments
 (0)