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