summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/src/context/layout.tsx
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-11 03:33:50 -0600
committerAdam <[email protected]>2025-12-11 06:48:59 -0600
commitf9f78122d0f2e1d750d5c6a35011e1b092c6957c (patch)
treedcfc051ddc151adfcaf15723322933dcec8bc37b /packages/desktop/src/context/layout.tsx
parent1980113ee4305844803f866aef05d742f7cffd47 (diff)
downloadopencode-f9f78122d0f2e1d750d5c6a35011e1b092c6957c.tar.gz
opencode-f9f78122d0f2e1d750d5c6a35011e1b092c6957c.zip
wip(desktop): progress
Diffstat (limited to 'packages/desktop/src/context/layout.tsx')
-rw-r--r--packages/desktop/src/context/layout.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/desktop/src/context/layout.tsx b/packages/desktop/src/context/layout.tsx
index d4a8875f7..24ba55a53 100644
--- a/packages/desktop/src/context/layout.tsx
+++ b/packages/desktop/src/context/layout.tsx
@@ -185,9 +185,7 @@ export const { use: useLayout, provider: LayoutProvider } = createSimpleContext(
close(dialog: Dialog) {
if (ephemeral.dialog?.open === dialog) {
setEphemeral("dialog", "open", undefined)
- if (dialog === "connect") {
- setEphemeral("connect", {})
- }
+ setEphemeral("connect", {})
}
},
connect(provider: string) {