Jiarenxiang | 38dcb05 | 2025-03-13 16:40:09 +0800 | [diff] [blame] | 1 | import { history } from '@umijs/max'; |
2 | import { Button, Result } from 'antd'; | ||||
3 | import React from 'react'; | ||||
4 | |||||
5 | const NoFoundPage: React.FC = () => ( | ||||
6 | <Result | ||||
7 | status="404" | ||||
8 | title="404" | ||||
9 | subTitle="Sorry, the page you visited does not exist." | ||||
10 | extra={ | ||||
11 | <Button type="primary" onClick={() => history.push('/')}> | ||||
12 | Back Home | ||||
13 | </Button> | ||||
14 | } | ||||
15 | /> | ||||
16 | ); | ||||
17 | |||||
18 | export default NoFoundPage; |