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 React from 'react'; |
||||
import Link from 'umi/link'; |
import Link from 'umi/link'; |
||||
import { formatMessage } from "umi/locale"; |
import { formatMessage } from 'umi/locale'; |
||||
import Exception from '@/components/Exception'; |
import Exception from '@/components/Exception'; |
||||
|
|
||||
export default () => ( |
export default () => ( |
||||
<Exception |
<Exception |
||||
type="404" |
type="404" |
||||
linkElement={Link} |
linkElement={Link} |
||||
desc={formatMessage({id: 'app.exception.description.404'})} |
desc={formatMessage({ id: 'app.exception.description.404' })} |
||||
backText={formatMessage({id: 'app.exception.back'})} |
backText={formatMessage({ id: 'app.exception.back' })} |
||||
/> |
/> |
||||
); |
); |
||||
|
|||||
Loading…
Reference in new issue