docs: fix variable name (#27675)

This commit is contained in:
Daniel Kelly 2024-06-17 17:35:32 -05:00 committed by GitHub
parent 324573f73d
commit 7d942f1b5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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
})