diff --git a/docs/3.api/2.composables/use-nuxt-data.md b/docs/3.api/2.composables/use-nuxt-data.md index 4e55114748..a5d3c99016 100644 --- a/docs/3.api/2.composables/use-nuxt-data.md +++ b/docs/3.api/2.composables/use-nuxt-data.md @@ -54,7 +54,7 @@ const { data } = await useAsyncData('todos', () => $fetch('/api/todos')) const newTodo = ref('') const previousTodos = ref([]) -// Access to the cached value of useFetch in todos.vue +// Access to the cached value of useAsyncData in todos.vue const { data: todos } = useNuxtData('todos') const { data } = await useFetch('/api/addTodo', {