diff --git a/docs/1.getting-started/6.data-fetching.md b/docs/1.getting-started/6.data-fetching.md index 2297412b99f2..61d02693efde 100644 --- a/docs/1.getting-started/6.data-fetching.md +++ b/docs/1.getting-started/6.data-fetching.md @@ -227,7 +227,7 @@ Combined with the `lazy` option, this can be useful for data that is not needed const articles = await useFetch('/api/article') /* This call will only be performed on the client */ -const { pending, data: posts } = useFetch('/api/comments', { +const { pending, data: comments } = useFetch('/api/comments', { lazy: true, server: false })