🐛 Fixed yupSchema
This commit is contained in:
@@ -84,11 +84,11 @@ export const dataSchema = yup.object({
|
||||
return VotingQuestionSchema;
|
||||
} else {
|
||||
// console.log('SlideQuestionSchema');
|
||||
return SlideQuestionSchema;
|
||||
return yup.string().required();
|
||||
}
|
||||
} catch {
|
||||
// console.log('SlideQuestionSchema');
|
||||
return SlideQuestionSchema;
|
||||
return yup.string().required();
|
||||
}
|
||||
} else {
|
||||
// console.log('RangeQuestionSchema');
|
||||
|
||||
Reference in New Issue
Block a user