Update src/app/cart/page.tsx
This commit is contained in:
@@ -10,10 +10,10 @@ export default function CartPage() {
|
||||
const [cartItems, setCartItems] = useState([
|
||||
{
|
||||
id: "prod-1", name: "Saffron Elixir Serum", price: "$120.00", quantity: 1,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/arrangement-with-make-up-container_23-2149030340.jpg", imageAlt: "Saffron Elixir Serum bottle"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/arrangement-with-make-up-container_23-2149030340.jpg?_wi=2", imageAlt: "Saffron Elixir Serum bottle"},
|
||||
{
|
||||
id: "prod-2", name: "Rose Hydrating Mist", price: "$65.00", quantity: 2,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/ecofriendly-beauty-product_23-2150669138.jpg", imageAlt: "Rose Hydrating Mist spray bottle"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/ecofriendly-beauty-product_23-2150669138.jpg?_wi=2", imageAlt: "Rose Hydrating Mist spray bottle"},
|
||||
]);
|
||||
|
||||
const handleQuantityChange = (id: string, newQuantity: number) => {
|
||||
|
||||
Reference in New Issue
Block a user