diff --git a/frontend/src/components/HeaderMain.vue b/frontend/src/components/HeaderMain.vue index f8206c1..77d2d12 100644 --- a/frontend/src/components/HeaderMain.vue +++ b/frontend/src/components/HeaderMain.vue @@ -41,6 +41,10 @@ const documentStore = useDocumentStore() const showSearchInput = ref(false) const search = ref() const searchButton = ref() + const props = defineProps<{ + path: Array + query: string +}>() const closeSearch = (ev: Event) => { if (!showSearchInput.value) return // Already closing @@ -83,11 +87,6 @@ const settingsMenu = (e: Event) => { items, }) } -const props = defineProps<{ - path: Array - query: string -}>() - defineExpose({ toggleSearchInput, closeSearch,