Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
m3t authored Apr 6, 2022
1 parent 7e697c5 commit 71f0c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/tutorial/chapter6/comment-form.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ You can even try submitting the form right in Storybook! If you leave "name" or

### Submitting

Submitting the form should use the `createComment` function we added to our services and GraphQL. We'll need to add a mutation to the form component and an `onSubmit` hander to the form so that the create can be called with the data in the form. And since `createComment` could return an error we'll add the **FormError** component to display it:
Submitting the form should use the `createComment` function we added to our services and GraphQL. We'll need to add a mutation to the form component and an `onSubmit` handler to the form so that the create can be called with the data in the form. And since `createComment` could return an error we'll add the **FormError** component to display it:

```jsx title="web/src/components/CommentForm/CommentForm.js"
import {
Expand Down

0 comments on commit 71f0c9d

Please sign in to comment.