This commit is contained in:
chamikaJ
2025-04-17 18:28:54 +05:30
parent f583291d8a
commit 8825b0410a
2837 changed files with 241385 additions and 127578 deletions

View File

@@ -0,0 +1,28 @@
import { useDocumentTitle } from '@/hooks/useDoumentTItle';
import { Button, Result } from 'antd';
import { useTranslation } from 'react-i18next';
import { useNavigate } from 'react-router-dom';
const Unauthorized = () => {
const navigate = useNavigate();
const { t } = useTranslation('unauthorized');
useDocumentTitle('Unauthorized');
return (
<div style={{ marginBlock: 65, minHeight: '90vh' }}>
<Result
status="warning"
title={t('title')}
subTitle={t('subtitle')}
extra={
<Button type="primary" key="console" onClick={() => navigate('/worklenz/home')}>
{t('button')}
</Button>
}
/>
</div>
);
};
export default Unauthorized;