diff options
| author | trisusilo <tri.susilo@altama.co.id> | 2023-08-31 07:17:33 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2023-08-31 07:17:33 +0000 |
| commit | 7356bcc0d1b7bac8d05ac315fdcf2a46b3996e91 (patch) | |
| tree | 4761fd4d978171e07ff993eabc02add7394281a8 /src/lib | |
| parent | 3466e673110385150063e595f00350c17c3637ee (diff) | |
| parent | 4cfc5bf25ba20b2a1a8ca140c785557d6c00cef6 (diff) | |
Merged in CR/tampilan (pull request #54)
fixing
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/product/components/ProductCard.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx index 66363ff2..2c849bd6 100644 --- a/src/lib/product/components/ProductCard.jsx +++ b/src/lib/product/components/ProductCard.jsx @@ -45,7 +45,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => { height={5} /> <span className='text-white text-[11px] font-semibold'> - {product?.flashSale?.tag != "false" || product?.flashSale?.tag != product?.flashSale?.tag ? '' : 'FLASH SALE'} + {product?.flashSale?.tag != "false" || product?.flashSale?.tag != product?.flashSale?.tag ? product?.flashSale?.tag : 'FLASH SALE'} </span> </div> </div> @@ -138,7 +138,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => { width={15} height={10} /> - <span className='text-white text-xs font-semibold'>{product?.flashSale?.tag != "false" || product?.flashSale?.tag != product?.flashSale?.tag ? '' : 'FLASH SALE'}</span> + <span className='text-white text-xs font-semibold'>{product?.flashSale?.tag != "false" || product?.flashSale?.tag != product?.flashSale?.tag ? product?.flashSale?.tag : 'FLASH SALE'}</span> </div> )} {product?.manufacture?.name ? ( |
