Skip to content

Commit

Permalink
fix(docs): typos (#6384)
Browse files Browse the repository at this point in the history
  • Loading branch information
alicanerdurmaz authored Oct 3, 2024
1 parent 2f4fc5b commit a0e3a26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion documentation/blog/2024-03-26-react-hook-form.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<form>` element:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Ant Design removed `less`, uses and recommends `CSS-in-JS` instead. You need to

### Compile errors

Some users repored ([issue#1](https://discord.com/channels/837692625737613362/1056236230641209396/1056236230641209396), [issue#2](https://discord.com/channels/837692625737613362/1056592183702061177/1056592183702061177)) compile errors after upgrading from `@refinedev/[email protected]` to `@refinedev/[email protected]`. They also provided solutions.
Some users reported ([issue#1](https://discord.com/channels/837692625737613362/1056236230641209396/1056236230641209396), [issue#2](https://discord.com/channels/837692625737613362/1056592183702061177/1056592183702061177)) compile errors after upgrading from `@refinedev/[email protected]` to `@refinedev/[email protected]`. They also provided solutions.

#### Solution 1

Expand Down

0 comments on commit a0e3a26

Please sign in to comment.