style: remove dynamic color coding from stock column to match table styling
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m26s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m26s
This commit is contained in:
@@ -159,7 +159,7 @@ const Products = () => {
|
||||
</div>
|
||||
</td>
|
||||
<td className="px-6 py-2.5">
|
||||
<span className={`font-bold ${product.stock > 10 ? 'text-emerald-500' : product.stock > 0 ? 'text-amber-500' : 'text-red-500'}`}>
|
||||
<span className="font-bold text-zinc-900 dark:text-dark-text">
|
||||
{product.stock} un.
|
||||
</span>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user