Skip to content

Commit b6b05d5

Browse files
authored
docs: fix fetchMoreVariableOverride description (TanStack#786)
There was a reference to a previous API instead of `getFetchMore`
1 parent 3896f0d commit b6b05d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ The returned properties for `usePaginatedQuery` are identical to the [`useQuery`
222222
- If using `paginated` mode, this will be `true` when fetching more results using the `fetchMore` function.
223223
- `fetchMore: Function(fetchMoreVariableOverride) => Promise`
224224
- This function allows you to fetch the next "page" of results.
225-
- `fetchMoreVariableOverride` allows you to optionally override the fetch more variable returned from your `getCanFetchMore` option to your query function to retrieve the next page of results.
225+
- `fetchMoreVariableOverride` allows you to optionally override the fetch more variable returned from your `getFetchMore` option to your query function to retrieve the next page of results.
226226
- `canFetchMore: Boolean`
227227
- If using `paginated` mode, this will be `true` if there is more data to be fetched (known via the required `getFetchMore` option function).
228228

0 commit comments

Comments
 (0)