diff --git a/src/components/Authentication/SignUpUserName.tsx b/src/components/Authentication/SignUpUserName.tsx index dd244cd66..49fde1863 100644 --- a/src/components/Authentication/SignUpUserName.tsx +++ b/src/components/Authentication/SignUpUserName.tsx @@ -52,12 +52,6 @@ const SignUpUserName = () => { setGoingBack(false); }; - const handleSkipClick = () => { - setSkipped(true); - }; - - - return (
{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 = () => {
{
{ {formikHandlers?.errors?.lastName} }
- -
- - - {`Skip`} - -
-