diff --git a/Comments.md b/Comments.md index 738b2b8..4651497 100755 --- a/Comments.md +++ b/Comments.md @@ -238,7 +238,7 @@ In `js/components/comments.jsx` create a property on the CommentsForm element ca render(){ return
- +
} ``` @@ -293,7 +293,7 @@ Now call the `handleSubmit` function that was passed into the CommentsForm compo ```javascript handleSubmit(event){ event.preventDefault(); - this.props.handleSubmit({ + this.props.createComment({ body: this.refs.body.value, author: this.refs.author.value });