Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit ad5614b

Browse files
committed
wip(desktop): progress
1 parent dda579c commit ad5614b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/desktop/src/components/dialog-connect.tsx renamed to packages/desktop/src/components/dialog-connect-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { Link } from "@/components/link"
2020
import { DialogSelectProvider } from "./dialog-select-provider"
2121
import { DialogSelectModel } from "./dialog-select-model"
2222

23-
export function DialogConnect(props: { provider: string }) {
23+
export function DialogConnectProvider(props: { provider: string }) {
2424
const dialog = useDialog()
2525
const globalSync = useGlobalSync()
2626
const globalSDK = useGlobalSDK()

packages/desktop/src/components/dialog-select-model-unpaid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { List, ListRef } from "@opencode-ai/ui/list"
99
import { ProviderIcon } from "@opencode-ai/ui/provider-icon"
1010
import { IconName } from "@opencode-ai/ui/icons/provider"
1111
import { DialogSelectProvider } from "./dialog-select-provider"
12-
import { DialogConnect } from "./dialog-connect"
12+
import { DialogConnectProvider } from "./dialog-connect-provider"
1313

1414
export const DialogSelectModelUnpaid: Component = () => {
1515
const local = useLocal()
@@ -75,7 +75,7 @@ export const DialogSelectModelUnpaid: Component = () => {
7575
}}
7676
onSelect={(x) => {
7777
if (!x) return
78-
dialog.replace(() => <DialogConnect provider={x.id} />)
78+
dialog.replace(() => <DialogConnectProvider provider={x.id} />)
7979
}}
8080
>
8181
{(i) => (

packages/desktop/src/components/dialog-select-provider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { List } from "@opencode-ai/ui/list"
66
import { Tag } from "@opencode-ai/ui/tag"
77
import { ProviderIcon } from "@opencode-ai/ui/provider-icon"
88
import { IconName } from "@opencode-ai/ui/icons/provider"
9-
import { DialogConnect } from "./dialog-connect"
9+
import { DialogConnectProvider } from "./dialog-connect-provider"
1010

1111
export const DialogSelectProvider: Component = () => {
1212
const dialog = useDialog()
@@ -34,7 +34,7 @@ export const DialogSelectProvider: Component = () => {
3434
}}
3535
onSelect={(x) => {
3636
if (!x) return
37-
dialog.replace(() => <DialogConnect provider={x.id} />)
37+
dialog.replace(() => <DialogConnectProvider provider={x.id} />)
3838
}}
3939
>
4040
{(i) => (

0 commit comments

Comments
 (0)