Skip to content

Commit 98e6387

Browse files
committed
Fixed bug in tutorial with comment props
Changed the 'Author' and 'Text' props to match the sample JSON data and the data returned by the server.
1 parent db608ef commit 98e6387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/jekyll/getting-started/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ var CommentList = React.createClass({
325325
render: function() {
326326
var commentNodes = this.props.data.map(function (comment) {
327327
return (
328-
<Comment author={comment.author}>
329-
{comment.text}
328+
<Comment author={comment.Author}>
329+
{comment.Text}
330330
</Comment>
331331
);
332332
});

0 commit comments

Comments
 (0)