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