From ea9e3cb144ea27b17f961c07b9cf82c3d286c854 Mon Sep 17 00:00:00 2001 From: jyswee Date: Thu, 23 Jul 2026 22:55:37 +0000 Subject: [PATCH] Seed: ecommerce template (24 files) --- src/pages/ProductDetail.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pages/ProductDetail.tsx b/src/pages/ProductDetail.tsx index 0192616..e16ff13 100644 --- a/src/pages/ProductDetail.tsx +++ b/src/pages/ProductDetail.tsx @@ -54,7 +54,7 @@ export default function ProductDetailPage() { const renderStars = (count: number) => Array.from({ length: 5 }, (_, i) => ( - + )); const handleAddToCart = () => { @@ -90,7 +90,7 @@ export default function ProductDetailPage() {
-
+
@@ -101,7 +101,7 @@ export default function ProductDetailPage() {
-
+
@@ -114,7 +114,7 @@ export default function ProductDetailPage() {
@@ -149,7 +149,7 @@ export default function ProductDetailPage() { -
@@ -283,7 +283,7 @@ export default function ProductDetailPage() { {relatedProducts.map((product) => ( -
+
@@ -292,7 +292,7 @@ export default function ProductDetailPage() {

{product.name}

{renderStars(product.rating)}
-

\${product.price}

+

${product.price}