a guest Oct 21st, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. * The first arguement is an object of errors e.g. { email: "Email has been taken" }
  3. * The seound arguement is a refrence to your formik form (e.g. useRef)
  4. * The third arguement is an optional mapping
  5. */
  6. useSetFormikErrors(errors, formikRef, { dob: "birthday" });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand