File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ export function useLiveQuery<TContext extends Context>(
167
167
168
168
/**
169
169
* Subscribe to an existing query collection (can be reactive)
170
- * @param liveQueryCollection - Pre-created query collection to subscribe to (can be a ref )
170
+ * @param liveQueryCollection - Pre-created query collection to subscribe to (can be a getter )
171
171
* @returns Reactive object with query data, state, and status information
172
172
* @example
173
173
* // Using pre-created query collection
@@ -293,7 +293,7 @@ export function useLiveQuery(
293
293
$effect ( ( ) => {
294
294
const currentCollection = collection
295
295
296
- // Update status ref whenever the effect runs
296
+ // Update status state whenever the effect runs
297
297
status = currentCollection . status
298
298
299
299
// Clean up previous subscription
@@ -332,7 +332,7 @@ export function useLiveQuery(
332
332
333
333
// Update the data array to maintain sorted order
334
334
syncDataFromCollection ( currentCollection )
335
- // Update status ref on every change
335
+ // Update status state on every change
336
336
status = currentCollection . status
337
337
}
338
338
)
You can’t perform that action at this time.
0 commit comments