docs: fix comments typo in auto-imports example (#29195)

This commit is contained in:
Panopoulos Andreas 2024-09-27 20:32:35 +03:00 committed by GitHub
parent b309986568
commit 2f7345586e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ Nuxt auto-imports functions and composables to perform [data fetching](/docs/get
```vue twoslash ```vue twoslash
<script setup lang="ts"> <script setup lang="ts">
/* useAsyncData() and $fetch() are auto-imported */ /* useFetch() is auto-imported */
const { data, refresh, status } = await useFetch('/api/hello') const { data, refresh, status } = await useFetch('/api/hello')
</script> </script>
``` ```