chore: build
This commit is contained in:
@@ -187,8 +187,10 @@ function Cart() {
|
||||
</p>
|
||||
<p className="cart-row-qty">{item.quantity}g</p>
|
||||
<p className="cart-row-price">
|
||||
{item.is_reward ? (
|
||||
{item.is_reward && item.price === 0 ? (
|
||||
<span style={{ color: "#10b981", fontWeight: 700 }}>Offert</span>
|
||||
) : item.is_reward ? (
|
||||
<span style={{ color: "#10b981", fontWeight: 700 }}>{item.price.toFixed(2)} €</span>
|
||||
) : (
|
||||
`${item.price.toFixed(2)} €`
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user