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:
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user