🚨 Fixed linter errors (removed console.log's)

This commit is contained in:
Mawoka
2022-10-04 16:47:00 +02:00
parent 8f1ee22270
commit 16b4cae21e
-3
View File
@@ -63,12 +63,9 @@ export const dataSchema = yup.object({
.lowercase(),
answers: yup.lazy((v) => {
if (Array.isArray(v)) {
console.log(v);
if (typeof v[0].right === 'boolean') {
console.log('Yup, ABCD');
return ABCDQuestionSchema;
} else {
console.log('Yup, Poll');
return VotingQuestionSchema;
}
} else {