You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
401 B
TypeScript
18 lines
401 B
TypeScript
|
1 month ago
|
import { Button, Result } from 'antd';
|
||
|
|
import React from 'react';
|
||
|
|
import { history } from '@umijs/max';
|
||
|
|
|
||
|
|
const NoFoundPage: React.FC<{}> = () => (
|
||
|
|
<Result
|
||
|
|
status="404"
|
||
|
|
title="404"
|
||
|
|
subTitle="Sorry, the page you visited does not exist."
|
||
|
|
extra={
|
||
|
|
<Button type="primary" onClick={() => history.push('/')}>
|
||
|
|
Back Home
|
||
|
|
</Button>
|
||
|
|
}
|
||
|
|
/>
|
||
|
|
);
|
||
|
|
|
||
|
|
export default NoFoundPage;
|