mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ ### Type of change - [X] New Feature (non-breaking change which adds functionality)
20 lines
393 B
JavaScript
20 lines
393 B
JavaScript
import { Button, Result } from 'antd';
|
|
import { history } from 'umi';
|
|
|
|
const NoFoundPage = () => {
|
|
return (
|
|
<Result
|
|
status="404"
|
|
title="404"
|
|
subTitle="Page not found, please enter a correct address."
|
|
extra={
|
|
<Button type="primary" onClick={() => history.push('/')}>
|
|
Business
|
|
</Button>
|
|
}
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default NoFoundPage;
|