Browse Source
* SelectLang: languages options don't need to be translated * fix e2e tests when `PORT` is set in `.env` * prettier: fix glob by adding single quotes. * prettier: running prettier after glob fixpull/2682/head
committed by
陈帅
10 changed files with 20 additions and 25 deletions
@ -1,13 +1,13 @@ |
|||
import React from 'react'; |
|||
import Link from 'umi/link'; |
|||
import { formatMessage } from "umi/locale"; |
|||
import { formatMessage } from 'umi/locale'; |
|||
import Exception from '@/components/Exception'; |
|||
|
|||
export default () => ( |
|||
<Exception |
|||
type="404" |
|||
linkElement={Link} |
|||
desc={formatMessage({id: 'app.exception.description.404'})} |
|||
backText={formatMessage({id: 'app.exception.back'})} |
|||
desc={formatMessage({ id: 'app.exception.description.404' })} |
|||
backText={formatMessage({ id: 'app.exception.back' })} |
|||
/> |
|||
); |
|||
|
|||
Loading…
Reference in new issue