From 8b899410c8672e835589601183c269eecdd80976 Mon Sep 17 00:00:00 2001 From: Kenrick Beckett <760470+kenrick@users.noreply.github.com> Date: Thu, 27 Jun 2024 06:48:18 -0600 Subject: [PATCH] docs: Remove the variable assignment from example code (#7623) * Remove the variable assignment from example code * remove variable assignment in prefetch query docs --------- Co-authored-by: Dominik Dorfmeister --- docs/framework/react/reference/usePrefetchInfiniteQuery.md | 2 +- docs/framework/react/reference/usePrefetchQuery.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework/react/reference/usePrefetchInfiniteQuery.md b/docs/framework/react/reference/usePrefetchInfiniteQuery.md index 2791ec4442..a1c5b4f7e3 100644 --- a/docs/framework/react/reference/usePrefetchInfiniteQuery.md +++ b/docs/framework/react/reference/usePrefetchInfiniteQuery.md @@ -4,7 +4,7 @@ title: usePrefetchInfiniteQuery --- ```tsx -const result = usePrefetchInfiniteQuery(options) +usePrefetchInfiniteQuery(options) ``` **Options** diff --git a/docs/framework/react/reference/usePrefetchQuery.md b/docs/framework/react/reference/usePrefetchQuery.md index f7b12a42f1..7fcc8f63f5 100644 --- a/docs/framework/react/reference/usePrefetchQuery.md +++ b/docs/framework/react/reference/usePrefetchQuery.md @@ -4,7 +4,7 @@ title: usePrefetchQuery --- ```tsx -const result = usePrefetchQuery(options) +usePrefetchQuery(options) ``` **Options**