Skip to content

Commit a540f0c

Browse files
authored
Update README.md
1 parent a181916 commit a540f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ import { ErrorMessage } from '@hookform/error-messagee';
7373

7474
export default function App() {
7575
const { register, errors, handleSubmit } = useForm({
76-
validateCriteriaMode: 'all',
76+
criteriaMode: 'all',
7777
});
7878
const onSubmit = (data) => console.log(data);
7979

0 commit comments

Comments
 (0)