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

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