This commit is contained in:
marzban-dev
2025-02-02 21:21:43 +03:30
parent 7f676a7ec5
commit ebe11d45fc
+4 -7
View File
@@ -31,17 +31,14 @@ const filteredCategories = computed(() => {
// ssr
await useAsyncData(async () => {
const response = await suspense();
const response = await suspense();
if (response.isError) {
if (response.isError) {
throw createError({
statusCode: 500,
statusMessage: `Error in categories page prefetch`
});
}
});
}
</script>
@@ -79,7 +76,7 @@ await useAsyncData(async () => {
>
<div class="w-full flex items-center justify-between gap-8">
<div class="flex items-center gap-2">
<!-- <img :src="mainCategory.icon" alt="" class="w-[30px] opacity-50" />-->
<!-- <img :src="mainCategory.icon" alt="" class="w-[30px] opacity-50" />-->
<span class="typo-h-5">
{{ mainCategory.name }}
</span>