MSP-3523 add notFound page

This commit is contained in:
veselovnk committed 2024-06-27 11:31:16 +03:00
1 parent 63084e945f
commit 37e9093166
2 files changed
+41 -9

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
import { Button } from 'antd'
import { Layout } from 'isp-ui-kit'
import { useNavigate } from 'react-router-dom'
import { routePaths } from '@routes/routePaths.ts'
const { NotFoundPage } = Layout
const NotFound = () => {
const navigate = useNavigate()
return (
<NotFoundPage>
<Button type="primary" onClick={() => navigate(routePaths.modules)}>
На главную
</Button>
</NotFoundPage>
)
}
export default NotFound