demo: fix console warning

pull/10050/head
afc163 7 years ago
parent 4486c569f2
commit 9b64a778d0

@ -125,8 +125,8 @@ class App extends React.Component {
<div>
<div className="change-locale">
<span style={{ marginRight: 16 }}>Change locale of components: </span>
<Radio.Group defaultValue={null} onChange={this.changeLocale}>
<Radio.Button key="en" value={null}>English</Radio.Button>
<Radio.Group defaultValue={undefined} onChange={this.changeLocale}>
<Radio.Button key="en" value={undefined}>English</Radio.Button>
<Radio.Button key="cn" value={zhCN}>中文</Radio.Button>
</Radio.Group>
</div>

Loading…
Cancel
Save