Skip to content

Commit 70c40e7

Browse files
authoredJul 3, 2024··
docs(react-query): Correct links in usePrefetchQuery (#7658)
1 parent af93a23 commit 70c40e7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎docs/framework/react/reference/usePrefetchInfiniteQuery.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ usePrefetchInfiniteQuery(options)
99

1010
**Options**
1111

12-
You can pass everything to `usePrefetchInfiniteQuery` that you can pass to [`queryClient.prefetchInfiniteQuery`](../../../reference/QueryClient#queryclientprefetchinfinitequery). Remember that some of them are required as below:
12+
You can pass everything to `usePrefetchInfiniteQuery` that you can pass to [`queryClient.prefetchInfiniteQuery`](../../../../reference/QueryClient#queryclientprefetchinfinitequery). Remember that some of them are required as below:
1313

1414
- `queryKey: QueryKey`
1515

@@ -34,4 +34,4 @@ You can pass everything to `usePrefetchInfiniteQuery` that you can pass to [`que
3434

3535
- **Returns**
3636

37-
The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses [`useSuspenseInfiniteQuery`](../reference/useSuspenseInfiniteQuery)
37+
The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses [`useSuspenseInfiniteQuery`](../useSuspenseInfiniteQuery)

‎docs/framework/react/reference/usePrefetchQuery.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ usePrefetchQuery(options)
99

1010
**Options**
1111

12-
You can pass everything to `usePrefetchQuery` that you can pass to [`queryClient.prefetchQuery`](../../../reference/QueryClient#queryclientprefetchquery). Remember that some of them are required as below:
12+
You can pass everything to `usePrefetchQuery` that you can pass to [`queryClient.prefetchQuery`](../../../../reference/QueryClient#queryclientprefetchquery). Remember that some of them are required as below:
1313

1414
- `queryKey: QueryKey`
1515

@@ -21,4 +21,4 @@ You can pass everything to `usePrefetchQuery` that you can pass to [`queryClient
2121

2222
**Returns**
2323

24-
The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses [`useSuspenseQuery`](../reference/useSuspenseQuery).
24+
The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses [`useSuspenseQuery`](../useSuspenseQuery).

0 commit comments

Comments
 (0)
Please sign in to comment.