diff options
| author | Adam <[email protected]> | 2025-10-14 07:14:26 -0500 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-10-14 07:16:24 -0500 |
| commit | 37e6c8342f1f63a95918a71ac78130b9d10d1103 (patch) | |
| tree | f5baccd7d4d97a0171eb224c9f7d88ec62b14aac /packages/desktop/src/context/local.tsx | |
| parent | c04e8929911be2433063e9a53cccf8d2dfd232b8 (diff) | |
| download | opencode-37e6c8342f1f63a95918a71ac78130b9d10d1103.tar.gz opencode-37e6c8342f1f63a95918a71ac78130b9d10d1103.zip | |
wip: css and ui packages
Diffstat (limited to 'packages/desktop/src/context/local.tsx')
| -rw-r--r-- | packages/desktop/src/context/local.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/desktop/src/context/local.tsx b/packages/desktop/src/context/local.tsx index 276f87192..e9fe8ee5c 100644 --- a/packages/desktop/src/context/local.tsx +++ b/packages/desktop/src/context/local.tsx @@ -146,7 +146,10 @@ function init() { } for (const p of sync.data.changes) { if (store.node[p.path] === undefined) { - fetch(p.path).then(() => setStore("node", p.path, "status", p)) + fetch(p.path).then(() => { + if (store.node[p.path] === undefined) return + setStore("node", p.path, "status", p) + }) } else { setStore("node", p.path, "status", p) } |
