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

docs: fix code highlighting #8057

Merged
merged 2 commits into from Oct 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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