mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 12:24:18 +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 (
|
return (
|
||||||
<ul className={s.productsInCart}>
|
<ul className={s.productsInCart}>
|
||||||
{
|
{
|
||||||
data.slice(0,1).map(item => <li key={item.name}>
|
data.map(item => <li key={item.name}>
|
||||||
<ProductCartItem
|
<ProductCartItem
|
||||||
name={item.name}
|
name={item.name}
|
||||||
slug={item.slug}
|
slug={item.slug}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user