Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs: fix code highlighting (#8057)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsraelOrtuno committed Oct 8, 2022
1 parent c404cb1 commit edc44aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/1.getting-started/6.data-fetching.md
Expand Up @@ -45,7 +45,7 @@ This composable behaves identically to `useFetch` with the `lazy: true` option s

```vue
<template>
<!-- you'll need to handle a loading state -->
<!-- you will need to handle a loading state -->
<div v-if="pending">
Loading ...
</div>
Expand All @@ -59,7 +59,7 @@ This composable behaves identically to `useFetch` with the `lazy: true` option s
<script setup>
const { pending, data: posts } = useLazyFetch('/api/posts')
watch(posts, (newPosts) => {
// Because posts starts out null, you won't have access
// Because posts starts out null, you will not have access
// to its contents immediately, but you can watch it.
})
</script>
Expand Down

0 comments on commit edc44aa

Please sign in to comment.