diff --git a/front/src/components/ui/Toc.vue b/front/src/components/ui/Toc.vue index d61781175..d86d06447 100644 --- a/front/src/components/ui/Toc.vue +++ b/front/src/components/ui/Toc.vue @@ -3,6 +3,8 @@ import { computed, ref, watchEffect } from 'vue' import { slugify } from 'transliteration' import { useScroll } from '@vueuse/core' +import Button from '~/components/ui/Button.vue' + const { heading = 'h1' } = defineProps<{heading?:'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'}>() const toc = ref() @@ -39,14 +41,14 @@ watchEffect(() => {