Skip to content

Commit f70eea2

Browse files
Update errormessage.mdx
added missing colon
1 parent f98461e commit f70eea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/useformstate/errormessage.mdx

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

162162
export default function App() {
163163
const { register, formState: { errors }, handleSubmit } = useForm({
164-
criteriaMode "all"
164+
criteriaMode: "all"
165165
});
166166
const onSubmit = data => console.log(data);
167167

0 commit comments

Comments
 (0)