Skip to content

Commit 2970e0a

Browse files
authored
Merge pull request #1499 from w3bdesign/develop
Refactor
2 parents 38f0467 + 07f2ce6 commit 2970e0a

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

components/Products/ProductsShowAll.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
class="text-black cursor-pointer hover:underline"
77
:to="productLink(product)"
88
>
9-
<ProductImage :alt="product.name" :src="productImage(product)" />
9+
<ProductsImage :alt="product.name" :src="productImage(product)" />
1010
<div class="flex justify-center pt-3">
1111
<p class="text-2xl font-bold text-center cursor-pointer">
1212
{{ product.name }}
1313
</p>
1414
</div>
1515
</NuxtLink>
16-
<ProductPrice
16+
<ProductsPrice
1717
:product="product"
1818
priceFontSize="normal"
1919
:shouldCenterPrice="true"
@@ -24,9 +24,6 @@
2424
</template>
2525

2626
<script setup>
27-
import ProductImage from "@/components/Products/ProductImage.vue";
28-
import ProductPrice from "@/components/Products/ProductPrice.vue";
29-
3027
const config = useRuntimeConfig();
3128
3229
const props = defineProps({

0 commit comments

Comments
 (0)