fix: duplicated import

pull/644/head
Kia Ishii 2 years ago
parent 1839e9a41a
commit 9b7ccee3b6

@ -1,6 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
import { provide } from 'vue' import { provide } from 'vue'
import { useSidebar } from '../composables/sidebar'
import { useNav } from '../composables/nav' import { useNav } from '../composables/nav'
import { useSidebar } from '../composables/sidebar' import { useSidebar } from '../composables/sidebar'
import VPNavBar from './VPNavBar.vue' import VPNavBar from './VPNavBar.vue'

@ -9,8 +9,6 @@ import VPNavBarSocialLinks from './VPNavBarSocialLinks.vue'
import VPNavBarExtra from './VPNavBarExtra.vue' import VPNavBarExtra from './VPNavBarExtra.vue'
import VPNavBarHamburger from './VPNavBarHamburger.vue' import VPNavBarHamburger from './VPNavBarHamburger.vue'
const { hasSidebar } = useSidebar()
defineProps<{ defineProps<{
isScreenOpen: boolean isScreenOpen: boolean
}>() }>()
@ -18,6 +16,8 @@ defineProps<{
defineEmits<{ defineEmits<{
(e: 'toggle-screen'): void (e: 'toggle-screen'): void
}>() }>()
const { hasSidebar } = useSidebar()
</script> </script>
<template> <template>

Loading…
Cancel
Save