From b8ece41f83e2099e454c886feb8280bf3a9b75d2 Mon Sep 17 00:00:00 2001 From: Miqdad Date: Sun, 26 Oct 2025 01:18:24 +0700 Subject: only show voucher in mobile --- .../product-detail/components/ProductDetail.tsx | 21 +++++++++++---------- 1 file 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 ===== */}
- {/* {isMobile && ( */} -
- Pakai{' '} - - {' '} - Voucher belanja hemat {currencyFormat(discount)} - {' '} - saat checkout -
- {/* )} */} + {isMobile && ( +
+ {' '} + Pakai{' '} + + {' '} + Voucher belanja hemat {currencyFormat(discount)} + {' '} + saat checkout +
+ )}

{product.name}

-- cgit v1.2.3