I am trying to write error handling on react hook form with yup, but when I want to pass resolver as documentation says (https://www.npmjs.com/package/@hookform/resolvers) I am