From 497db3f3802a6d086e7ecc599b154f0c4868e8f8 Mon Sep 17 00:00:00 2001 From: camewell <130561684+camewell071@users.noreply.github.com> Date: Wed, 31 Jan 2024 10:07:11 +0700 Subject: [PATCH] chore: update ui --- src/modules/PublicSale/activities/index.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/modules/PublicSale/activities/index.tsx b/src/modules/PublicSale/activities/index.tsx index b3623a14b..f6ee7366a 100644 --- a/src/modules/PublicSale/activities/index.tsx +++ b/src/modules/PublicSale/activities/index.tsx @@ -147,11 +147,12 @@ Good luck and have fun! }, [isOpenNakaWinners]); const currentDay = React.useMemo(() => { - const diffDay = new BigNumber( - dayjs.utc(PUBLIC_SALE_START).diff(dayjs.utc(), 'days'), - ) - .absoluteValue() - .toNumber(); + // const diffDay = new BigNumber( + // dayjs.utc(PUBLIC_SALE_START).diff(dayjs.utc(), 'days'), + // ) + // .absoluteValue() + // .toNumber(); + const diffDay = 0; return { step: DAYS.length > diffDay ? DAYS[diffDay] : DAYS[DAYS.length - 1], diffDay, @@ -218,7 +219,7 @@ Good luck and have fun! return ( currentDay.diffDay} + isDisabled={isDisable} className={styles.itemWrapper} > {({ isExpanded }) => (