From 6d13de7b3f644391cf5bfedfa5aeaf6f94b0db18 Mon Sep 17 00:00:00 2001 From: Alican Erdurmaz Date: Tue, 1 Oct 2024 17:45:34 +0300 Subject: [PATCH] fix(docs): typos --- documentation/blog/2024-03-26-react-hook-form.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/blog/2024-03-26-react-hook-form.md b/documentation/blog/2024-03-26-react-hook-form.md index 4fa9e7e4819b..84145c5a94f5 100644 --- a/documentation/blog/2024-03-26-react-hook-form.md +++ b/documentation/blog/2024-03-26-react-hook-form.md @@ -539,7 +539,7 @@ Notice, we have multiple validation rules for the `content` field. React Hook Fo ### Handling Submission in React Hook Formxx -In React Hook Form, registered field data are accummulated in a `data` object with their `name` and field values. We handle submission of the form data with the `handleSubmit` method of the form instance. +In React Hook Form, registered field data are accumulated in a `data` object with their `name` and field values. We handle submission of the form data with the `handleSubmit` method of the form instance. Let's now deal with submitting the data by making changes to the form we have so far. Update the `App.js` to the following code with `formInstance.handleSubmit` passed to `onSubmit` event on `
` element: