Skip to content

Commit 58573e9

Browse files
committed
docs: fix typo
1 parent 0f237bc commit 58573e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/react/guides/infinite-queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ queryClient.setQueryData(['projects'], (data) => ({
237237
```tsx
238238
queryClient.setQueryData(['projects'], (data) => ({
239239
pages: data.pages.slice(0,1),
240-
pageParams: data.pages.slice(0,1),
240+
pageParams: data.pageParams.slice(0,1),
241241
}))
242242
```
243243

0 commit comments

Comments
 (0)