diff --git a/src/app/pages/Designathons/Designathon24/components/SectionNavigation/index.jsx b/src/app/pages/Designathons/Designathon24/components/SectionNavigation/index.jsx index ac0434d8..297f6b40 100644 --- a/src/app/pages/Designathons/Designathon24/components/SectionNavigation/index.jsx +++ b/src/app/pages/Designathons/Designathon24/components/SectionNavigation/index.jsx @@ -1,16 +1,16 @@ -// import { useEffect, useState } from "react"; +import { useEffect, useState } from "react"; import cn from "./SectionNavigation.module.scss"; const SectionNavigation = () => { - // const [currentTime, setCurrentTime] = useState(() => new Date().getTime()); + const [currentTime, setCurrentTime] = useState(() => new Date().getTime()); - // useEffect(() => { - // const timer = setInterval(() => { - // setCurrentTime(new Date().getTime()); - // }, 1000); + useEffect(() => { + const timer = setInterval(() => { + setCurrentTime(new Date().getTime()); + }, 1000); - // return () => clearInterval(timer); - // }, []); + return () => clearInterval(timer); + }, []); const scrollToSection = (id) => { window.scrollTo({ @@ -45,21 +45,21 @@ const SectionNavigation = () => {
Challenge Brief
)} + { }} target="_blank" rel="noopener noreferrer" - href="https://forms.gle/hJmEGwbSc6mhqw9QA" + href="https://drive.google.com/file/d/16pPV0akDO-dMmDiPptWOdiBPETkGuw5o/view" > -Submission Form
- */} +Handbook
+