diff --git a/docs/content/3.api/1.composables/use-async-data.md b/docs/content/3.api/1.composables/use-async-data.md index 031fbb0db35..17806001ea0 100644 --- a/docs/content/3.api/1.composables/use-async-data.md +++ b/docs/content/3.api/1.composables/use-async-data.md @@ -56,12 +56,9 @@ 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), - { - pick: ['title'] - } + () => $fetch('https://api.nuxtjs.dev/mountains') ) ```