chore: add new features
This commit is contained in:
@@ -20,6 +20,7 @@ function ProductCard({
|
||||
id,
|
||||
name,
|
||||
price,
|
||||
unit = "g",
|
||||
image,
|
||||
stock,
|
||||
category = "autre",
|
||||
@@ -180,7 +181,7 @@ function ProductCard({
|
||||
key={priceOption.quantity}
|
||||
value={priceOption.quantity}
|
||||
>
|
||||
{priceOption.quantity}g -{" "}
|
||||
{priceOption.quantity}{unit} -{" "}
|
||||
{priceOption.price.toFixed(2)} €
|
||||
</option>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user