mirror of
https://github.com/vercel/commerce.git
synced 2025-07-21 03:41:22 +00:00
🐛 bug: show all products in cart
:%s
This commit is contained in:
parent
aa285d8577
commit
470a2383af
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user