Browse Source

fix warnings

pull/526/head
afc163 9 years ago
parent
commit
1742085df9
  1. 2
      components/iconfont/index.md

2
components/iconfont/index.md

@ -147,7 +147,7 @@ const IconSet = React.createClass({
render() {
return (
<ul className="anticons-list clearfix">
{this.props.icons.map(type => <CopyableIcon type={type} />)}
{this.props.icons.map((type, i) => <CopyableIcon key={i} type={type} />)}
</ul>
);
}

Loading…
Cancel
Save