diff options
| author | Rafi Zadanly <rafizadanly@gmail.com> | 2022-11-19 11:21:40 +0700 |
|---|---|---|
| committer | Rafi Zadanly <rafizadanly@gmail.com> | 2022-11-19 11:21:40 +0700 |
| commit | 8690ffb360e8a774560fcafaaeefe37fad1f6948 (patch) | |
| tree | 3c1b35f9cc4b8420dc460a34bc393c69cf4e2cf6 /src/components/ProductCard.js | |
| parent | c5838a2873473440ba9b1bea740b714ae1fb2485 (diff) | |
Fix style
Diffstat (limited to 'src/components/ProductCard.js')
| -rw-r--r-- | src/components/ProductCard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ProductCard.js b/src/components/ProductCard.js index af96de28..3b0ef162 100644 --- a/src/components/ProductCard.js +++ b/src/components/ProductCard.js @@ -30,7 +30,7 @@ export default function ProductCard({ data }) { <div className="mt-2"> {product.lowest_price.discount_percentage > 0 ? ( <div className="flex gap-x-1 items-center"> - <span className="badge-yellow">{product.lowest_price.discount_percentage}%</span> + <span className="badge-red">{product.lowest_price.discount_percentage}%</span> <p className="text-xs text-gray-800 line-through">{currencyFormat(product.lowest_price.price)}</p> </div> ) : ''} |
