diff options
| -rw-r--r-- | src-migrate/modules/product-detail/components/ProductDetail.tsx | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx index 693d0a93..51b080ef 100644 --- a/src-migrate/modules/product-detail/components/ProductDetail.tsx +++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx @@ -291,16 +291,17 @@ const ProductDetail = ({ product }: Props) => { {/* ===== Kolom kanan: info ===== */} <div className='md:w-8/12 px-4 md:pl-6'> <div className='h-6 md:h-0' /> - {/* {isMobile && ( */} - <div className='text text-sm font-medium'> - <TicketIcon className='inline text-yellow-300 w-5 h-5' /> Pakai{' '} - <span className='text-green-600 font-extrabold'> - {' '} - Voucher belanja hemat {currencyFormat(discount)} - </span>{' '} - saat checkout - </div> - {/* )} */} + {isMobile && ( + <div className='text text-sm font-medium'> + <TicketIcon className='inline text-yellow-300 w-5 h-5' />{' '} + Pakai{' '} + <span className='text-green-600 font-extrabold'> + {' '} + Voucher belanja hemat {currencyFormat(discount)} + </span>{' '} + saat checkout + </div> + )} <h1 className={style['title']}>{product.name}</h1> <div className='h-3 md:h-0' /> <Information product={product} /> |
