diff --git a/src/app/tcp1pctf-2024/countdown.tsx b/src/app/tcp1pctf-2024/countdown.tsx index e8c1ad1..5a850ff 100644 --- a/src/app/tcp1pctf-2024/countdown.tsx +++ b/src/app/tcp1pctf-2024/countdown.tsx @@ -9,7 +9,6 @@ export function Countdown({ endDate }: { endDate: number }) { setTimeLeft(calculateTimeLeft()); }, 1000); - // Clear the interval when the component unmounts return () => clearInterval(timer); }, []); @@ -18,7 +17,6 @@ export function Countdown({ endDate }: { endDate: number }) { const difference = endDate - now; if (difference <= 0) { - // Timer has expired, you can handle this case as needed return { days: 0, hours: 0, minutes: 0, seconds: 0 }; } diff --git a/src/app/tcp1pctf-2024/page.tsx b/src/app/tcp1pctf-2024/page.tsx index 919e92f..cc17cd3 100644 --- a/src/app/tcp1pctf-2024/page.tsx +++ b/src/app/tcp1pctf-2024/page.tsx @@ -14,9 +14,9 @@ export default function Page() {

TCP1P CTF 2024

Exploring Nusantara's Digital Realm

-
+ {/*
-
+
*/}

TCP1PCTF 2024 is an annual Capture The Flag (CTF) event organized by the TCP1P community. This marks the second edition of our international CTF event. This thrilling CTF follows a jeopardy-style format and encompasses a variety of challenges ranging in difficulty from easy to medium-high. Participants will have the opportunity to test their skills and knowledge across various categories, ensuring a diverse and engaging experience.