Skip to content

Commit 7f7a81c

Browse files
committed
fix(db): simplify allCollectionsReady check to only require 'ready' status
1 parent ec3efc6 commit 7f7a81c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/db/src/query/live-query-collection.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ export function liveQueryCollectionOptions<
164164

165165
const allCollectionsReady = () => {
166166
return Object.values(collections).every(
167-
(collection) =>
168-
collection.status === `ready` || collection.status === `initialCommit`
167+
(collection) => collection.status === `ready`
169168
)
170169
}
171170

0 commit comments

Comments
 (0)