diff --git a/src/pages/NotFound.tsx b/src/pages/NotFound.tsx index 1b30452..c0f5739 100644 --- a/src/pages/NotFound.tsx +++ b/src/pages/NotFound.tsx @@ -1,18 +1,13 @@ -import { Link, useLocation } from "react-router-dom"; -import { useEffect } from "react"; +import { Link } from "react-router-dom"; const NotFound = () => { - const location = useLocation(); - - useEffect(() => { - console.error("404 Error: User attempted to access non-existent route:", location.pathname); - }, [location.pathname]); - return (
Oops! Page not found
++ Oops! Page not found +
Return to Home