Skip to content

Commit c016346

Browse files
authored
docs: fix guides references (TanStack#1615)
1 parent dd57480 commit c016346

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/pages/reference/useQuery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const result = useQuery({
6060
- `queryKey: string | unknown[]`
6161
- **Required**
6262
- The query key to use for this query.
63-
- The query key will be hashed into a stable hash. See [Query Keys](./guides/query-keys) for more information.
63+
- The query key will be hashed into a stable hash. See [Query Keys](../guides/query-keys) for more information.
6464
- The query will automatically update when this key changes (as long as `enabled` is not set to `false`).
6565
- `queryFn: (context: QueryFunctionContext) => Promise<TData>`
6666
- **Required, but only if no default query function has been defined**
@@ -70,7 +70,7 @@ const result = useQuery({
7070
- Must return a promise that will either resolves data or throws an error.
7171
- `enabled: boolean`
7272
- Set this to `false` to disable this query from automatically running.
73-
- Can be used for [Dependent Queries](./guides/queries#dependent-queries).
73+
- Can be used for [Dependent Queries](../guides/dependent-queries).
7474
- `retry: boolean | number | (failureCount: number, error: TError) => boolean`
7575
- If `false`, failed queries will not retry by default.
7676
- If `true`, failed queries will retry infinitely.

0 commit comments

Comments
 (0)