petits ajustements et début boutton cart

This commit is contained in:
Victor Turgeon
2022-11-06 14:49:53 -05:00
parent 5c789e2cc7
commit ed04dc8293
4 changed files with 160 additions and 133 deletions

View File

@@ -9,8 +9,8 @@ const ItemList = ({ items }) => {
{items.length <= 0 && <p>Aucun morceaux à montrer...</p>}
{items.map((item) =>
<Link key={item.id} className='item-link' to={`/morceaux/${item.id}`}>
<Item
productId={item.id}
<Item
productId={item.id}
name={item.title}
price={item.price}
status={item.status}
@@ -19,7 +19,7 @@ const ItemList = ({ items }) => {
</Link>
)}
</div>
</>
)