Skip to content

Commit 045fd50

Browse files
authored
Import 'eq' from '@tanstack/react-db' in example. (#1327)
1 parent 00df57a commit 045fd50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/framework/react/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For comprehensive documentation on writing queries (filtering, joins, aggregatio
2222
The `useLiveQuery` hook creates a live query that automatically updates your component when data changes:
2323

2424
```tsx
25-
import { useLiveQuery } from '@tanstack/react-db'
25+
import { useLiveQuery, eq } from '@tanstack/react-db'
2626

2727
function TodoList() {
2828
const { data, isLoading } = useLiveQuery((q) =>

0 commit comments

Comments
 (0)