Skip to content

Commit

Permalink
docs: move fetchContentNavigation into function (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd authored and farnabaz committed Sep 7, 2022
1 parent fe3f8c9 commit b285234
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ content/

```vue [app.vue]
<script setup>
const { data: navigation } = await useAsyncData('navigation', fetchContentNavigation())
const { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation())
</script>
<template>
Expand Down

0 comments on commit b285234

Please sign in to comment.