mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix japanese tutorial
This commit is contained in:
1 parent
c7868cc741
commit
e4fe662aaa
1 file changed
+1
-1
@@ -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>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user