From a0e3a26a1df94b95224aff2ece722c32bb75e158 Mon Sep 17 00:00:00 2001 From: Alican Erdurmaz Date: Thu, 3 Oct 2024 10:47:03 +0300 Subject: [PATCH] fix(docs): typos (#6384) --- documentation/blog/2024-03-26-react-hook-form.md | 2 +- .../docs/ui-integrations/ant-design/migration-guide/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: diff --git a/documentation/docs/ui-integrations/ant-design/migration-guide/index.md b/documentation/docs/ui-integrations/ant-design/migration-guide/index.md index 5465e98cf004..7a8fd917a859 100644 --- a/documentation/docs/ui-integrations/ant-design/migration-guide/index.md +++ b/documentation/docs/ui-integrations/ant-design/migration-guide/index.md @@ -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/antd@3.x.x` to `@refinedev/antd@4.x.x`. 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/antd@3.x.x` to `@refinedev/antd@4.x.x`. They also provided solutions. #### Solution 1