Skip to content

Commit

Permalink
docs: update url (#2055)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemcode committed May 5, 2023
1 parent 9e89b65 commit 3949798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/3.guide/2.displaying/2.querying.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ queryContent('/').findOne()

### Wrap your query with `useAsyncData`

To prevent fetching duplication on first load, wrap your query in the [`useAsyncData` composable](https://v3.nuxtjs.org/api/composables/use-async-data) (auto-imported as well).
To prevent fetching duplication on first load, wrap your query in the [`useAsyncData` composable](https://nuxt.com/docs/api/composables/use-async-data) (auto-imported as well).

```js
const { data } = await useAsyncData('home', () => queryContent('/').findOne())
Expand Down

0 comments on commit 3949798

Please sign in to comment.