Ignore:
Timestamp:
06/20/24 11:57:13 (5 months ago)
Author:
223021 <daniel.ilievski.2@…>
Branches:
main
Children:
0f0add0
Parents:
befb988
Message:

Did more refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jobvista-frontend/src/views/auth/SignUpRecruiterForm.js

    rbefb988 r08f82ec  
    1313    const schema = yup.object().shape({
    1414        companyNameReg: yup.string().required("Company name is required."),
    15         phoneNumberReg: yup.number().required("Phone number is required"),
     15        phoneNumberReg: yup.string().required("Phone number is required"),
    1616        companyEmailReg: yup.string().required("Email is required.").email("Email is not valid."),
    1717        passwordReg: yup.string().min(6, "Password must be at least 6 characters.").required("Password is required."),
     
    3232                    //     theme: success ? 'success' : 'error'
    3333                    // });
    34                     success && navigate("/");
     34                    success && navigate("/no-access");
    3535                }));
    3636        } catch (err) {
Note: See TracChangeset for help on using the changeset viewer.