We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4ebf4 commit 1ae7d8cCopy full SHA for 1ae7d8c
content/docs/validation.mdx
@@ -68,7 +68,7 @@ and a `message` string which will be used to display the error in the form.
68
```js
69
const AdditionalErrorsExample = () => {
70
71
- const [additionalErrors, setAdditionalErrors] = useState<ErrorObject[])([]);
+ const [additionalErrors, setAdditionalErrors] = useState<ErrorObject[]>([]);
72
73
const addAdditionalError = () => {
74
const newError: ErrorObject = {
0 commit comments