404.js 369 Bytes
Newer Older
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
1
import React from 'react';
zinkey's avatar
zinkey committed
2
import Link from 'umi/link';
3
import { formatMessage } from 'umi-plugin-react/locale';
4
import Exception from '@/components/Exception';
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
5 6

export default () => (
Jing Ma's avatar
Jing Ma committed
7 8 9
  <Exception
    type="404"
    linkElement={Link}
Rayron Victor's avatar
Rayron Victor committed
10 11
    desc={formatMessage({ id: 'app.exception.description.404' })}
    backText={formatMessage({ id: 'app.exception.back' })}
Jing Ma's avatar
Jing Ma committed
12
  />
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
13
);