Walidacja e -maila YUP
const schema = yup
.object({
email: yup.string().email("Field should contain a valid e-mail").max(255).required("E-mail is required"),
})
.required();
Plain Panda