diff options
Diffstat (limited to 'packages')
| -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" /> |
