mirror of
https://github.com/react/react.git
synced 2026-10-07 12:13:56 +08: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