{skipped ? (
@@ -130,11 +124,13 @@ const SignUpUserName = () => {
validationSchema={yup.object().shape({
firstName: yup
.string()
+ .required('First name is required')
.min(2, 'First name must be at least 2 characters')
.max(50, 'First name must be at most 255 characters')
.trim(),
lastName: yup
.string()
+ .required('Last name is required')
.min(2, 'Last name must be at least 2 characters')
.max(50, 'Last name must be at most 255 characters')
.trim()
@@ -161,6 +157,7 @@ const SignUpUserName = () => {