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