Skip to content

Commit

Permalink
docs: Remove the variable assignment from example code (#7623)
Browse files Browse the repository at this point in the history
* Remove the variable assignment from example code

* remove variable assignment in prefetch query docs

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
  • Loading branch information
kenrick and TkDodo committed Jun 27, 2024
1 parent e100e5d commit 8b89941
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/framework/react/reference/usePrefetchInfiniteQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: usePrefetchInfiniteQuery
---

```tsx
const result = usePrefetchInfiniteQuery(options)
usePrefetchInfiniteQuery(options)
```

**Options**
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/react/reference/usePrefetchQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: usePrefetchQuery
---

```tsx
const result = usePrefetchQuery(options)
usePrefetchQuery(options)
```

**Options**
Expand Down

0 comments on commit 8b89941

Please sign in to comment.