From 5d8ad078bdc735e708654e278b226868dc3bc403 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 27 Apr 2023 16:45:05 +0700 Subject: flash sale mapping, mobile flash sale --- src/core/components/elements/CountDown/CountDown.jsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/core') diff --git a/src/core/components/elements/CountDown/CountDown.jsx b/src/core/components/elements/CountDown/CountDown.jsx index 49a33d77..877f7998 100644 --- a/src/core/components/elements/CountDown/CountDown.jsx +++ b/src/core/components/elements/CountDown/CountDown.jsx @@ -31,22 +31,22 @@ const CountDown = ({ initialTime }) => { }, [timeLeft]) return ( -
+
- {timeLeft.day} - Hari + {timeLeft.day.toString().padStart(2, '0')} + Hari
- {timeLeft.hour} - Jam + {timeLeft.hour.toString().padStart(2, '0')} + Jam
- {timeLeft.minute} - Menit + {timeLeft.minute.toString().padStart(2, '0')} + Menit
- {timeLeft.second} - Detik + {timeLeft.second.toString().padStart(2, '0')} + Detik
) -- cgit v1.2.3