From c3141a475cf20a0d4537d1eb03ea3c72bc6980ed Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Tue, 5 Jun 2018 13:47:48 -0400 Subject: [PATCH] Update Comments.md --- Comments.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 });