Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * The first arguement is an object of errors e.g. { email: "Email has been taken" }
- * The seound arguement is a refrence to your formik form (e.g. useRef)
- * The third arguement is an optional mapping
- */
- useSetFormikErrors(errors, formikRef, { dob: "birthday" });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement