import { useSeoMeta } from "@unhead/react"; import { useLocation } from "react-router-dom"; import { useEffect } from "react"; import { useTranslation } from '@/contexts/language'; const NotFound = () => { const location = useLocation(); const { t } = useTranslation(); useSeoMeta({ title: t('settingsUi.notFound.seoTitle'), description: t('settingsUi.notFound.seoDescription'), }); useEffect(() => { console.error( "404 Error: User attempted to access non-existent route:", location.pathname ); }, [location.pathname]); return (

404

{t('settingsUi.notFound.message')}

{t('settingsUi.notFound.returnHome')}
); }; export default NotFound;