Skip to content

Commit a726530

Browse files
authored
fix(app): workspace loading and persist ready state (#23046)
1 parent d995059 commit a726530

6 files changed

Lines changed: 187 additions & 194 deletions

File tree

packages/app/src/context/global-sync.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ function createGlobalSync() {
264264
children.pin(directory)
265265
const promise = Promise.resolve().then(async () => {
266266
const child = children.ensureChild(directory)
267-
child[1]("bootstrapPromise", promise!)
268267
const cache = children.vcsCache.get(directory)
269268
if (!cache) return
270269
const sdk = sdkFor(directory)

packages/app/src/context/global-sync/child-store.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ export function createChildStoreManager(input: {
182182
limit: 5,
183183
message: {},
184184
part: {},
185-
bootstrapPromise: Promise.resolve(),
186185
})
187186
children[directory] = child
188187
disposers.set(directory, dispose)

packages/app/src/context/global-sync/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ export type State = {
7272
part: {
7373
[messageID: string]: Part[]
7474
}
75-
bootstrapPromise: Promise<void>
7675
}
7776

7877
export type VcsCache = {

0 commit comments

Comments
 (0)