index.js
398 Bytes
import React from 'react';
import { formatMessage } from 'umi/locale';
import Link from 'umi/link';
import Exception from 'ant-design-pro/lib/Exception';
const Exception404 = () => (
<Exception
type="404"
desc={formatMessage({ id: 'app.exception.description.404' })}
linkElement={Link}
backText={formatMessage({ id: 'app.exception.back' })}
/>
);
export default Exception404;