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>(
167167
168168/**
169169 * 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 )
171171 * @returns Reactive object with query data, state, and status information
172172 * @example
173173 * // Using pre-created query collection
@@ -293,7 +293,7 @@ export function useLiveQuery(
293293 $effect ( ( ) => {
294294 const currentCollection = collection
295295
296- // Update status ref whenever the effect runs
296+ // Update status state whenever the effect runs
297297 status = currentCollection . status
298298
299299 // Clean up previous subscription
@@ -332,7 +332,7 @@ export function useLiveQuery(
332332
333333 // Update the data array to maintain sorted order
334334 syncDataFromCollection ( currentCollection )
335- // Update status ref on every change
335+ // Update status state on every change
336336 status = currentCollection . status
337337 }
338338 )
You can’t perform that action at this time.
0 commit comments