🐛 Fixed yupSchema

This commit is contained in:
Mawoka
2022-12-26 11:22:28 +01:00
parent 4446427552
commit 0a14bc307a
3 changed files with 2 additions and 998 deletions
+2 -2
View File
@@ -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');