Connect, collaborate, and grow with a community of TypeScript developers
Odicho/enable timer on challenge view (#1667)
Amanuel Odichof4e48f9949bd
diff --git a/apps/aot/src/components/DailyCountdownTimer.tsx b/apps/aot/src/components/DailyCountdownTimer.tsxindex d4b1b0ed..0f301ae1 100644--- a/apps/aot/src/components/DailyCountdownTimer.tsx+++ b/apps/aot/src/components/DailyCountdownTimer.tsx@@ -3,7 +3,6 @@ import Image from 'next/image';export const DailyCountdownTimer = () => {const nowDate = Date.now();- const aotStarted = nowDate >= new Date(Date.UTC(2024, 11, 1, 5, 0, 0)).getTime();const isAtLeastOneDayPastAotEndDate =nowDate >= new Date(Date.UTC(2024, 11, 26, 5, 0, 0)).getTime();@@ -19,5 +18,5 @@ export const DailyCountdownTimer = () => {);}- return aotStarted ? <DailyCountdownTimerClientComponent /> : <></>;+ return <DailyCountdownTimerClientComponent />;};