index.tsx 447 Bytes
Newer Older
1
import React from 'react';
xiaohuoni's avatar
xiaohuoni committed
2
import { formatMessage } from 'umi-plugin-react/locale';
3
import Link from 'umi/link';
xiaohuoni's avatar
xiaohuoni committed
4
import Exception from './components/Exception';
5

xiaohuoni's avatar
xiaohuoni committed
6
const PAGE_NAME_UPPER_CAMEL_CASE: React.FC = () => (
7 8 9 10 11 12 13 14 15
  <Exception
    type="500"
    desc={formatMessage({ id: 'BLOCK_NAME.description.500' })}
    linkElement={Link}
    backText={formatMessage({ id: 'BLOCK_NAME.exception.back' })}
  />
);

export default PAGE_NAME_UPPER_CAMEL_CASE;