🐛 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
-3
View File
@@ -24,7 +24,6 @@
"@felte/reporter-tippy": "^1.1.4",
"@felte/validator-yup": "^1.0.10",
"@fontsource/marck-script": "^4.5.11",
"@neodrag/svelte": "^1.2.4",
"@sentry/browser": "^7.23.0",
"@sentry/tracing": "^7.23.0",
"@simplewebauthn/browser": "^6.2.2",
@@ -34,7 +33,6 @@
"@tailwindcss/typography": "^0.5.8",
"@types/canvas-confetti": "^1.6.0",
"@types/cookie": "^0.5.1",
"@types/fabric": "^4.5.14",
"@types/js-cookie": "^3.0.2",
"@types/luxon": "^2.4.0",
"@types/qrcode": "^1.5.0",
@@ -59,7 +57,6 @@
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte3": "^4.0.0",
"fabric": "^5.3.0",
"felte": "^1.2.6",
"fuse.js": "^6.6.2",
"highlight.js": "^11.7.0",
-993
View File
File diff suppressed because it is too large Load Diff
+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');