diff --git a/01-frontend/src/pages/Product.tsx b/01-frontend/src/pages/Product.tsx index e5f50b0..f714d32 100644 --- a/01-frontend/src/pages/Product.tsx +++ b/01-frontend/src/pages/Product.tsx @@ -28,7 +28,7 @@ export default function Product() { if (!item) { return
Item not found
; } - + const handleAddToCart = () => { addToBasket(item.id, quantity); @@ -38,10 +38,11 @@ export default function Product() { const discountedPrice = item.price * (1 - item.discount / 100); return ( - - - {/* Left Column - Image */} - +
+ + + {/* Left Column - Image */} + - - {/* Right Column - Product Details */} - + + {/* Right Column - Product Details */} + {item.name} @@ -134,8 +135,9 @@ export default function Product() { - - - + + + +
); }; \ No newline at end of file