From 7dd90f2bb7cd1636b04f1f5aeae01cbc9373a79a Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Fri, 28 Jun 2024 14:29:41 +0200 Subject: [PATCH] docs(app): use `UContentSearchButton` component --- docs/app/app.vue | 4 +--- docs/app/components/Header.vue | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/app/app.vue b/docs/app/app.vue index 1e0e57ee..7e326eae 100644 --- a/docs/app/app.vue +++ b/docs/app/app.vue @@ -11,7 +11,6 @@ const { integrity, api } = runtimeConfig.public.content const { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation(), { default: () => [] }) const { data: files } = await useLazyFetch(`${api.baseURL}/search${integrity ? '.' + integrity : ''}`, { default: () => [] }) -const open = ref(false) const searchTerm = ref('') // watch(searchTerm, debounce((query: string) => { @@ -55,7 +54,6 @@ useServerSeoMeta({ twitterCard: 'summary_large_image' }) -provide('open', open) provide('navigation', navigation) provide('files', files) @@ -74,6 +72,6 @@ provide('files', files)