remove search from home

This commit is contained in:
Jai A 2024-01-14 09:02:27 -05:00 committed by Prospector
parent 5ddad8ebc2
commit 4bfccba4c0
No known key found for this signature in database

View File

@ -520,19 +520,9 @@ const sortType = ref('relevance')
const auth = await useAuth()
const tags = useTags()
const [{ data: searchProjects, refresh: updateSearchProjects }, { data: notifications }] =
await Promise.all([
useAsyncData(
'demoSearchProjects',
() => useBaseFetch(`search?limit=3&query=${searchQuery.value}&index=${sortType.value}`),
{
transform: (result) => result.hits,
}
),
useAsyncData('updatedProjects', () => useBaseFetch(`search?limit=3&query=&index=updated`), {
transform: (result) => result.hits,
}),
])
const searchProjects = ref([])
const notifications = ref([])
const updateSearchProjects = async () => {}
const val = Math.ceil(homepageProjects.length / 3)
const rows = shallowRef([