import { Result, Button } from 'antd'; import { useNavigate } from 'react-router'; import { useTranslation } from 'react-i18next'; const NotFoundPage: React.FC = () => { const navigate = useNavigate(); const { t } = useTranslation('common'); return (
navigate('/dashboard')}> {t('backToHome')} } />
); }; export default NotFoundPage;