import { history } from '@umijs/max'; import { Button, Result } from 'antd'; import React from 'react'; const NoFoundPage = () => ( history.push('/welcome')}> Back Home } /> ); export default NoFoundPage;