diff options
| author | trisusilo <tri.susilo@altama.co.id> | 2023-12-05 02:59:30 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2023-12-05 02:59:30 +0000 |
| commit | 80caa8f6ad5fecc213fd1533b972c6173102721e (patch) | |
| tree | f70c8ec03cf2a1cdb8eb3f30ecd83e200986b70b /src/lib/product/components/Product/ProductMobile.jsx | |
| parent | eca358fd93f1ea5d88c6a6fcc315624cc3bbb910 (diff) | |
| parent | 4ac372ff318ee78e5d5019a1dbe95bf47b661766 (diff) | |
Merged in Feature/popup_information (pull request #118)
Feature/popup information
Diffstat (limited to 'src/lib/product/components/Product/ProductMobile.jsx')
| -rw-r--r-- | src/lib/product/components/Product/ProductMobile.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/product/components/Product/ProductMobile.jsx b/src/lib/product/components/Product/ProductMobile.jsx index ef2c0002..e23e2fb9 100644 --- a/src/lib/product/components/Product/ProductMobile.jsx +++ b/src/lib/product/components/Product/ProductMobile.jsx @@ -260,7 +260,7 @@ const ProductMobile = ({ product, wishlist, toggleWishlist }) => { {activeVariant.isFlashsale && activeVariant?.price?.discountPercentage > 0 ? ( <> <div className='flex gap-x-1 items-center'> - <div className='badge-solid-red'>{activeVariant?.price?.discountPercentage}%</div> + <div className='badge-solid-red'>{Math.floor(activeVariant?.price?.discountPercentage)}%</div> <div className='text-gray_r-11 line-through text-caption-1'> {currencyFormat(activeVariant?.price?.price)} </div> |
