I\'m using Yup to validate an email field:
const Schema = Yup.object().shape({ email: Yup.string() .email("non valid email format") .required(&q