Skip to content

Commit

Permalink
fix: aside nav (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
casualmatt committed Mar 6, 2024
1 parent e6c8a87 commit 2144e24
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions layouts/docs.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<script setup lang="ts">
import type { NavItem } from '@nuxt/content/dist/runtime/types'
import type { NavItem } from "@nuxt/content/dist/runtime/types";
const navigation = inject<Ref<NavItem[]>>('navigation')
const navigation = inject<Ref<NavItem[]>>("navigation");
callOnce(() => {
navigation.value.pop();
});
</script>

<template>
Expand Down

0 comments on commit 2144e24

Please sign in to comment.