mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
demo: fix console warning
This commit is contained in:
parent
4486c569f2
commit
9b64a778d0
@ -125,8 +125,8 @@ class App extends React.Component {
|
|||||||
<div>
|
<div>
|
||||||
<div className="change-locale">
|
<div className="change-locale">
|
||||||
<span style={{ marginRight: 16 }}>Change locale of components: </span>
|
<span style={{ marginRight: 16 }}>Change locale of components: </span>
|
||||||
<Radio.Group defaultValue={null} onChange={this.changeLocale}>
|
<Radio.Group defaultValue={undefined} onChange={this.changeLocale}>
|
||||||
<Radio.Button key="en" value={null}>English</Radio.Button>
|
<Radio.Button key="en" value={undefined}>English</Radio.Button>
|
||||||
<Radio.Button key="cn" value={zhCN}>中文</Radio.Button>
|
<Radio.Button key="cn" value={zhCN}>中文</Radio.Button>
|
||||||
</Radio.Group>
|
</Radio.Group>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user