提交 1742085d 编写于 作者: A afc163

fix warnings

上级 5ccd0439
......@@ -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>
);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册