mirror of
https://github.com/facebook/react.git
synced 2026-02-24 12:43:00 +00:00
Fix japanese tutorial
This commit is contained in:
@@ -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