From a6a168ea5c1321234aae66415fd1f8f2135283c0 Mon Sep 17 00:00:00 2001 From: woaitsAryan Date: Fri, 19 Jan 2024 03:26:00 +0530 Subject: [PATCH] fix: small error changes --- src/components/FAQs.js | 2 +- src/lib/validation/registerFormSchema.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/FAQs.js b/src/components/FAQs.js index a672141..7ec80b3 100644 --- a/src/components/FAQs.js +++ b/src/components/FAQs.js @@ -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 :)', }, ]; diff --git a/src/lib/validation/registerFormSchema.js b/src/lib/validation/registerFormSchema.js index 5741191..61cef9a 100644 --- a/src/lib/validation/registerFormSchema.js +++ b/src/lib/validation/registerFormSchema.js @@ -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'])