Skip to content

Commit 531d3fd

Browse files
committed
name infiniteQuery properly
1 parent 261b7a0 commit 531d3fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/reference/QueryClient.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The options for `query` are exactly the same as those of [`useQuery`](../framewo
100100

101101
## `queryClient.infiniteQuery`
102102

103-
`fetchInfiniteQuery` is similar to `query` but can be used to fetch and cache an infinite query.
103+
`infiniteQuery` is similar to `query` but can be used to fetch and cache an infinite query.
104104

105105
```tsx
106106
try {
@@ -113,7 +113,7 @@ try {
113113

114114
**Options**
115115

116-
The options for `fetchInfiniteQuery` are exactly the same as those of [`query`](#queryclientquery), with the addition of `initialPageParam`, `pages` and `getNextPageParam` options from [`useInfiniteQuery`](../framework/react/reference/useInfiniteQuery.md),.
116+
The options for `infiniteQuery` are exactly the same as those of [`query`](#queryclientquery), with the addition of `initialPageParam`, `pages` and `getNextPageParam` options from [`useInfiniteQuery`](../framework/react/reference/useInfiniteQuery.md),.
117117

118118
**Returns**
119119

0 commit comments

Comments
 (0)