added suspense
This commit is contained in:
@@ -8,7 +8,10 @@ import { PRODUCT_RANGE } from "~/constants";
|
||||
|
||||
// state
|
||||
|
||||
const params: GetProductsFilters = useUrlSearchParams("history");
|
||||
const params: GetProductsFilters = useUrlSearchParams("history", {
|
||||
removeFalsyValues: true,
|
||||
removeNullishValues: true,
|
||||
});
|
||||
|
||||
const filters = computed(() => {
|
||||
return {
|
||||
@@ -87,14 +90,14 @@ watch(
|
||||
</div>
|
||||
</template>
|
||||
</Input>
|
||||
<!-- <Suspense>
|
||||
<Suspense>
|
||||
<FilterButton />
|
||||
<template #fallback>
|
||||
<Skeleton
|
||||
class="!w-[10.35rem] !h-[3.35rem] !rounded-full"
|
||||
/>
|
||||
</template>
|
||||
</Suspense> -->
|
||||
</Suspense>
|
||||
</div>
|
||||
</div>
|
||||
<ul
|
||||
|
||||
Reference in New Issue
Block a user