Clearify callback text in the tutorial
jim committed
Feb 17, 2016 at 16:26 UTC
5ffd1db5706a223b49bebcbdcc0ff51abfd06981
1 file changed
+1
-1
docs/docs/tutorial.md
+1
-1
@@ -620,7 +620,7 @@ var CommentBox = React.createClass({
620
});
621
```
622
623
-Let's call the callback from the `CommentForm` when the user submits the form:
623
+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:
624
625
```javascript{19}
626
// tutorial19.js