Skip to content

Commit 83b72d6

Browse files
authored
docs: move fetchContentNavigation into function (#1403)
1 parent 55e99e4 commit 83b72d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/4.api/2.composables/2.fetch-content-navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ content/
1616

1717
```vue [app.vue]
1818
<script setup>
19-
const { data: navigation } = await useAsyncData('navigation', fetchContentNavigation())
19+
const { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation())
2020
</script>
2121
2222
<template>

0 commit comments

Comments
 (0)