🐛 bug: show all products in cart

:%s
This commit is contained in:
lytrankieio123 2021-09-06 17:59:13 +07:00
parent aa285d8577
commit 470a2383af

View File

@ -10,7 +10,7 @@ const ProductsInCart = ({ data }: Props) => {
return (
<ul className={s.productsInCart}>
{
data.slice(0,1).map(item => <li key={item.name}>
data.map(item => <li key={item.name}>
<ProductCartItem
name={item.name}
slug={item.slug}