Skip to content

Commit 55ebe7c

Browse files
authored
fix: grammatical errors (#1053)
1 parent c055193 commit 55ebe7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/useform/seterror.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ The function allows you to manually set one or more errors.
4242
```
4343
- Can be useful in the `handleSubmit` method when you want to give error feedback to a user after async validation. (ex: API returns validation errors)
4444
- `shouldFocus` doesn't work when an input has been disabled.
45-
- This method will force set `isValid` formState to `false`, however, it's important to aware `isValid` will always be derived by the validation result from your input registration rules or schema result.
46-
- There are certain keyword which need to avoid before conflicting with type check. They are `type`, `types`
45+
- This method will force set `isValid` formState to `false`. However, it's important to be aware that `isValid` will always be derived from the validation result of your input registration rules or schema result.
46+
- There are certain keywords that need to be avoided to prevent conflicts with type checking. They are `type` and `types`.
4747

4848
</Admonition>
4949

0 commit comments

Comments
 (0)