import { useLocation } from "react-router-dom"; import { useEffect } from "react"; import { FileQuestion } from "lucide-react"; import { Button } from "@/components/ui/button"; 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 (

404

The page you are looking for could not be found.

); }; export default NotFound;