Clearify callback text in the tutorial

This commit is contained in:
jim
2016-02-17 16:30:11 -08:00
parent 62e9531023
commit 5ffd1db570
+1 -1
View File
@@ -620,7 +620,7 @@ var CommentBox = React.createClass({
});
```
Let's call the callback from the `CommentForm` when the user submits the form:
Now that `CommentBox` has made the callback available to `CommentForm` via the `onCommentSubmit` prop, the `CommentForm` can call the callback when the user submits the form:
```javascript{19}
// tutorial19.js