new changes
This commit is contained in:
@@ -12,7 +12,7 @@ const prevPage = computed(() => route.meta.prevPage);
|
|||||||
|
|
||||||
// queries
|
// queries
|
||||||
|
|
||||||
const { data: cart, isPending: cartIsPending, suspense } = useGetCartOrders();
|
const { data: cart, isLoading: cartIsLoading, suspense } = useGetCartOrders();
|
||||||
|
|
||||||
await suspense();
|
await suspense();
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ const hasCartItem = computed(
|
|||||||
>
|
>
|
||||||
<NuxtPage />
|
<NuxtPage />
|
||||||
</div>
|
</div>
|
||||||
<CartSummary v-if="hasCartItem && !cartIsPending" />
|
<CartSummary v-if="hasCartItem && !cartIsLoading" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ProductsSlider title="دیگر محصولات" />
|
<ProductsSlider title="دیگر محصولات" />
|
||||||
|
|||||||
Reference in New Issue
Block a user