diff --git a/docs/tutorial.md b/docs/tutorial.md index ddeae78a..e30eebe2 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -501,7 +501,7 @@ When a user submits a comment, we will need to refresh the list of comments to i We need to pass data from the child component to its parent. We do this by passing a `callback` in props from parent to child: -```javascript{13-15,30} +```javascript{13-15,32} // tutorial17.js var CommentBox = React.createClass({ loadCommentsFromServer: function() {