Browse Source

Fix Japanese/Italian/Korean tutorials (#7020)

* Fix japanese tutorial

* Fix Italian tutorial as same as e4fe662

* Fix Korean tutorial as same as e4fe662
main
Ryo Shibayama 9 years ago
committed by Keyan Zhang
parent
commit
7398aac852
  1. 2
      docs/tutorial.it-IT.md
  2. 2
      docs/tutorial.ja-JP.md
  3. 2
      docs/tutorial.ko-KR.md

2
docs/tutorial.it-IT.md

@ -327,7 +327,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>
); );

2
docs/tutorial.ja-JP.md

@ -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>
); );

2
docs/tutorial.ko-KR.md

@ -331,7 +331,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>
); );

Loading…
Cancel
Save