docs: remove misleading reference to useFetch (#26748)

This commit is contained in:
Shao 2024-04-13 08:23:41 +10:00 committed by GitHub
parent b7ba3a4a80
commit f0a81b21b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,7 +122,7 @@ const { data, error } = await useAsyncData(`user:${id}`, () => {
</script>
```
The `useAsyncData` composable is a great way to wrap and wait for multiple `useFetch` to be done, and then retrieve the results of each.
The `useAsyncData` composable is a great way to wrap and wait for multiple `$fetch` requests to be completed, and then process the results.
```vue
<script setup lang="ts">