import { useLocation } from "react-router-dom"; import { useEffect } from "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 (
Página não encontrada
A página que você está procurando não existe ou foi movida para outro lugar.