From 14e968309da5036711ee0e3995362aa19d7bd7d8 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Tue, 3 Mar 2026 10:24:12 +0000 Subject: big update! --- source/96/src/app/not-found.js | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 source/96/src/app/not-found.js (limited to 'source/96/src/app/not-found.js') diff --git a/source/96/src/app/not-found.js b/source/96/src/app/not-found.js deleted file mode 100644 index 7298535..0000000 --- a/source/96/src/app/not-found.js +++ /dev/null @@ -1,31 +0,0 @@ -"use client"; - -import { useEffect, useState } from "react"; -import { useRouter } from "next/navigation"; - -export default () => { - const router = useRouter(); - - const [seconds, setSeconds] = useState(5); - - useEffect(() => { - const interval = setInterval(() => { - setSeconds((prev) => prev - 1); - }, 1000); - - if (seconds === 0) { - router.push("/"); - } - - return () => clearInterval(interval); - }, [seconds]); - - return ( -
-

404 - Page Not Found

-

- Redirecting to Home in {seconds} seconds... -

-
- ); -}; -- cgit v1.2.3