Skip to content

Commit 352ff73

Browse files
committed
chore: clean up jsdoc
1 parent 3a55f3f commit 352ff73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/svelte-db/src/useLiveQuery.svelte.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)