diff options
| author | Adam <[email protected]> | 2025-12-15 14:43:37 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-15 14:43:48 -0600 |
| commit | 300ec0e0af7c3a844f322ae37f3b89a1c3367a7b (patch) | |
| tree | e8fa1e9758442e059b0703df778be11d24aa3b61 | |
| parent | 66329878271bab0b39ffc62b53b382a79df54414 (diff) | |
| download | opencode-300ec0e0af7c3a844f322ae37f3b89a1c3367a7b.tar.gz opencode-300ec0e0af7c3a844f322ae37f3b89a1c3367a7b.zip | |
fix: missing event type (global)
| -rw-r--r-- | packages/desktop/src/context/global-sync.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/desktop/src/context/global-sync.tsx b/packages/desktop/src/context/global-sync.tsx index 1b40cd507..7d8186a68 100644 --- a/packages/desktop/src/context/global-sync.tsx +++ b/packages/desktop/src/context/global-sync.tsx @@ -142,7 +142,7 @@ export const { use: useGlobalSync, provider: GlobalSyncProvider } = createSimple const event = e.details if (directory === "global") { - switch (event.type) { + switch (event?.type) { case "global.disposed": { bootstrap() break |
