diff --git a/src/features/product/components/Product.tsx b/src/features/product/components/Product.tsx index fbbafc9..315ef79 100644 --- a/src/features/product/components/Product.tsx +++ b/src/features/product/components/Product.tsx @@ -35,7 +35,7 @@ const Product: React.FC = () => { const addToCart = () => { if (productToShow) { - cartService.addProductToCart(productToShow); + cartService.addProductToCart({...productToShow, quantity: 1}); } };