Fix japanese tutorial

This commit is contained in:
Ryo Shibayama
2016-06-12 09:44:22 +09:00
parent c7868cc741
commit e4fe662aaa
+1 -1
View File
@@ -324,7 +324,7 @@ var CommentList = React.createClass({
render: function() { render: function() {
var commentNodes = this.props.data.map(function (comment) { var commentNodes = this.props.data.map(function (comment) {
return ( return (
<Comment author={comment.author}> <Comment author={comment.author} key={comment.id}>
{comment.text} {comment.text}
</Comment> </Comment>
); );