reordered sections
This commit is contained in:
@@ -43,7 +43,7 @@ provide("productVariant", {
|
||||
|
||||
const productResponse = await suspenseProduct();
|
||||
|
||||
if (productResponse.isError ) {
|
||||
if (productResponse.isError) {
|
||||
throw createError({
|
||||
statusCode: 404,
|
||||
statusMessage: `error : product ${id} prefetch error`,
|
||||
@@ -55,12 +55,12 @@ if (productResponse.isError ) {
|
||||
<div class="w-full flex flex-col">
|
||||
<ProductHero />
|
||||
<ProductVideo v-model:showChatButton="showChatButton" />
|
||||
<ProductComments />
|
||||
<ProductDetails />
|
||||
<ProductsSlider
|
||||
title="محصولات مشابه"
|
||||
:products="product!.related_products"
|
||||
/>
|
||||
<ProductComments />
|
||||
<ChatButton :showChatButton="showChatButton" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user