Skip to content

Commit

Permalink
docs: remove redundant quote
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Dec 7, 2017
1 parent 43628b9 commit 9bbfe53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/react/getting-started.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ import { LocaleProvider, DatePicker, message } from 'antd';
import frFR from 'antd/lib/locale-provider/fr_FR';
import moment from 'moment';
import 'moment/locale/fr';

moment.locale('fr');

class App extends React.Component {
Expand Down
3 changes: 2 additions & 1 deletion docs/react/getting-started.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ import { LocaleProvider, DatePicker, message } from 'antd';
// 由于 antd 组件的默认文案是英文,所以需要修改为中文
import zhCN from 'antd/lib/locale-provider/zh_CN';
import moment from 'moment';
import 'moment/locale/zh-cn';'
import 'moment/locale/zh-cn';

moment.locale('zh-cn');

class App extends React.Component {
Expand Down

0 comments on commit 9bbfe53

Please sign in to comment.