Skip to content

Commit

Permalink
fix: small error changes
Browse files Browse the repository at this point in the history
  • Loading branch information
woaitsAryan committed Jan 18, 2024
1 parent a3e19f3 commit a6a168e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/FAQs.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const faqs = [
},
{
question: 'Can I be a part of multiple domains?',
answer: 'Absolutely! You can attempt tests for multiple domains as well as be a part of multiple domains after recruitments.',
answer: 'Yes sure but you\'ll be limited to attempting quizzes for 2 domains, after you\'re in CSI, you can do whatever :)',
},
];

Expand Down
2 changes: 1 addition & 1 deletion src/lib/validation/registerFormSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const registerFormSchema = Joi.object({
})
.error(new Error('Invalid Phone Number: check if you have added country code.')),
isVitian: Joi.boolean().required(),
regNo: Joi.string().required().regex(new RegExp(constants.regNoRegex)).error(new Error('Invalid VIT Reg No. CSI currently recruits only freshers!')),
regNo: Joi.string().required().regex(new RegExp(constants.regNoRegex)).error(new Error('Invalid VIT Reg No. Ensure that it\'s in capitals')),
gender: Joi.string()
.required()
.valid(...['M', 'F', 'NB', 'O', 'P'])
Expand Down

0 comments on commit a6a168e

Please sign in to comment.