Skip to content

Commit ea17e85

Browse files
committed
Clean up
1 parent b61f241 commit ea17e85

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/vite-typescript-example/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
This example demonstrates how to use Ditto with React, TypeScript, and Vite.
44

5+
> [!NOTE]
6+
> At least Ditto v4.10.0 is required for this example to work.
7+
58
## Ditto Authentication Setup
69

710
For detailed information about Ditto authentication, refer to the [Ditto Authentication Documentation](https://docs.ditto.live/key-concepts/authentication-and-authorization).

src/queries/usePendingCursorOperation.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ export function usePendingCursorOperation(
121121
const paramsVersion = useVersion(params)
122122

123123
const createLiveQuery = () => {
124-
// It seems like this would not change the live query when params are
125-
// updated unless `reset()` is called.
126124
if (ditto && !liveQueryRef.current) {
127125
const nextCollection = ditto.store.collection(params.collection)
128126
let cursor: PendingCursorOperation

0 commit comments

Comments
 (0)