Skip to content

Commit

Permalink
docs: fix variable name (nuxt#27675)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkellyio authored Jun 17, 2024
1 parent 324573f commit 7d942f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1.getting-started/6.data-fetching.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 7d942f1

Please sign in to comment.