react-version #1
@ -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