link ids
This commit is contained in:
parent
67e0aa9636
commit
b95e0800fb
@ -8,8 +8,8 @@ const ItemList = ({ items }) => {
|
||||
<>
|
||||
<div className='item-list'>
|
||||
{items.map((item) =>
|
||||
<Link className='item-link' to={`/morceaux/${item.id}`}>
|
||||
<Item key={item.id} imageUrl={item.imageUrl}
|
||||
<Link key={item.id} className='item-link' to={`/morceaux/${item.id}`}>
|
||||
<Item imageUrl={item.imageUrl}
|
||||
name={item.name}
|
||||
price={item.price}
|
||||
status={item.status}
|
||||
|
Loading…
Reference in New Issue
Block a user