Fix japanese tutorial

This commit is contained in:
Ryo Shibayama
2016-06-12 09:44:22 +09:00
parent c7868cc741
commit e4fe662aaa

View File

@@ -324,7 +324,7 @@ var CommentList = React.createClass({
render: function() {
var commentNodes = this.props.data.map(function (comment) {
return (
<Comment author={comment.author}>
<Comment author={comment.author} key={comment.id}>
{comment.text}
</Comment>
);