add product to cart, update product in cart, remove product form cart

This commit is contained in:
DatNguyen
2021-10-06 16:59:37 +07:00
parent 7ade05a5af
commit a8aa755b79
17 changed files with 195 additions and 48 deletions

View File

@@ -17,6 +17,7 @@ interface Props {
featuredProducts: ProductCard[],
}
export default function Home({ freshProducts, featuredProducts, veggie }: Props) {
// console.log("veggie",veggie)
return (
<>
<HomeBanner />