diff options
| author | GitHub Action <[email protected]> | 2026-01-13 15:42:58 +0000 |
|---|---|---|
| committer | GitHub Action <[email protected]> | 2026-01-13 15:42:58 +0000 |
| commit | 20b52cad2add67fa49155b49cfe641d7c89715eb (patch) | |
| tree | d23fca89ffec635fa68ec33f25e99b8d92689787 | |
| parent | 528291532b1d4192302538f9c27054ff717c6982 (diff) | |
| download | opencode-20b52cad2add67fa49155b49cfe641d7c89715eb.tar.gz opencode-20b52cad2add67fa49155b49cfe641d7c89715eb.zip | |
chore: generate
| -rw-r--r-- | packages/app/src/components/prompt-input.tsx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 2be8a21c1..f1ca3ee88 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1563,10 +1563,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { <TooltipKeybind placement="top" title="Choose model" keybind={command.keybind("model.choose")}> <Button as="div" variant="ghost" onClick={() => dialog.show(() => <DialogSelectModelUnpaid />)}> <Show when={local.model.current()?.provider?.id}> - <ProviderIcon - id={local.model.current()!.provider.id as IconName} - class="size-4 shrink-0" - /> + <ProviderIcon id={local.model.current()!.provider.id as IconName} class="size-4 shrink-0" /> </Show> {local.model.current()?.name ?? "Select model"} <Icon name="chevron-down" size="small" /> @@ -1578,10 +1575,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { <TooltipKeybind placement="top" title="Choose model" keybind={command.keybind("model.choose")}> <Button as="div" variant="ghost"> <Show when={local.model.current()?.provider?.id}> - <ProviderIcon - id={local.model.current()!.provider.id as IconName} - class="size-4 shrink-0" - /> + <ProviderIcon id={local.model.current()!.provider.id as IconName} class="size-4 shrink-0" /> </Show> {local.model.current()?.name ?? "Select model"} <Icon name="chevron-down" size="small" /> |
