summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/src/context/local.tsx
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-09 11:08:55 -0600
committerAdam <[email protected]>2025-12-09 11:09:00 -0600
commit5442adb5174cee717b9a301d0cce8be8f3338388 (patch)
treee6b74870c33ad5501fe202595af3d510930c0084 /packages/desktop/src/context/local.tsx
parent6b2ac20abc19d3678b251cc730b3faf56e916bb5 (diff)
downloadopencode-5442adb5174cee717b9a301d0cce8be8f3338388.tar.gz
opencode-5442adb5174cee717b9a301d0cce8be8f3338388.zip
wip(desktop): progress
Diffstat (limited to 'packages/desktop/src/context/local.tsx')
-rw-r--r--packages/desktop/src/context/local.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/desktop/src/context/local.tsx b/packages/desktop/src/context/local.tsx
index a9f48ec67..0d8303b45 100644
--- a/packages/desktop/src/context/local.tsx
+++ b/packages/desktop/src/context/local.tsx
@@ -335,7 +335,7 @@ export const { use: useLocal, provider: LocalProvider } = createSimpleContext({
return {
node: async (path: string) => {
- if (!store.node[path]) {
+ if (!store.node[path] || store.node[path].loaded === false) {
await init(path)
}
return store.node[path]