Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Update docs/content/3.api/1.composables/use-async-data.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Apr 25, 2022
1 parent a0c5a45 commit 0147e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/3.api/1.composables/use-async-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ By default, Nuxt waits until a `refresh` is finished before it can be executed a
## Example
```ts
const { data, pending, error, refresh } = useAsyncData(
const { data, pending, error, refresh } = await useAsyncData(
'mountains',
() => $fetch('https://api.nuxtjs.dev/mountains')
)
Expand Down

0 comments on commit 0147e75

Please sign in to comment.