Skip to content

Commit 6004933

Browse files
authored
[docs] Fix anchor link for useLazyQuery (#13288)
The current [useLazyQuery page](https://www.apollographql.com/docs/react/api/react/useLazyQuery) links to a non-existent anchor on the Queries page. This updates the link href and text. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated a help link in the `useLazyQuery` guidance to point to a more relevant section about fetching in response to user interaction. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 691aa3b commit 6004933

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/react/hooks/useLazyQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export declare namespace useLazyQuery {
260260
/**
261261
* A hook for imperatively executing queries in an Apollo application, e.g. in response to user interaction.
262262
*
263-
* > Refer to the [Queries - Manual execution with useLazyQuery](https://www.apollographql.com/docs/react/data/queries#manual-execution-with-uselazyquery) section for a more in-depth overview of `useLazyQuery`.
263+
* > Refer to the [Queries - Fetching in response to user interaction](https://www.apollographql.com/docs/react/data/queries#fetching-in-response-to-user-interaction) section for a more in-depth overview of `useLazyQuery`.
264264
*
265265
* @example
266266
*

0 commit comments

Comments
 (0)