🐛 Fixed yupSchema
This commit is contained in:
@@ -24,7 +24,6 @@
|
|||||||
"@felte/reporter-tippy": "^1.1.4",
|
"@felte/reporter-tippy": "^1.1.4",
|
||||||
"@felte/validator-yup": "^1.0.10",
|
"@felte/validator-yup": "^1.0.10",
|
||||||
"@fontsource/marck-script": "^4.5.11",
|
"@fontsource/marck-script": "^4.5.11",
|
||||||
"@neodrag/svelte": "^1.2.4",
|
|
||||||
"@sentry/browser": "^7.23.0",
|
"@sentry/browser": "^7.23.0",
|
||||||
"@sentry/tracing": "^7.23.0",
|
"@sentry/tracing": "^7.23.0",
|
||||||
"@simplewebauthn/browser": "^6.2.2",
|
"@simplewebauthn/browser": "^6.2.2",
|
||||||
@@ -34,7 +33,6 @@
|
|||||||
"@tailwindcss/typography": "^0.5.8",
|
"@tailwindcss/typography": "^0.5.8",
|
||||||
"@types/canvas-confetti": "^1.6.0",
|
"@types/canvas-confetti": "^1.6.0",
|
||||||
"@types/cookie": "^0.5.1",
|
"@types/cookie": "^0.5.1",
|
||||||
"@types/fabric": "^4.5.14",
|
|
||||||
"@types/js-cookie": "^3.0.2",
|
"@types/js-cookie": "^3.0.2",
|
||||||
"@types/luxon": "^2.4.0",
|
"@types/luxon": "^2.4.0",
|
||||||
"@types/qrcode": "^1.5.0",
|
"@types/qrcode": "^1.5.0",
|
||||||
@@ -59,7 +57,6 @@
|
|||||||
"eslint": "^8.28.0",
|
"eslint": "^8.28.0",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"eslint-plugin-svelte3": "^4.0.0",
|
"eslint-plugin-svelte3": "^4.0.0",
|
||||||
"fabric": "^5.3.0",
|
|
||||||
"felte": "^1.2.6",
|
"felte": "^1.2.6",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"highlight.js": "^11.7.0",
|
"highlight.js": "^11.7.0",
|
||||||
|
|||||||
Generated
-993
File diff suppressed because it is too large
Load Diff
@@ -84,11 +84,11 @@ export const dataSchema = yup.object({
|
|||||||
return VotingQuestionSchema;
|
return VotingQuestionSchema;
|
||||||
} else {
|
} else {
|
||||||
// console.log('SlideQuestionSchema');
|
// console.log('SlideQuestionSchema');
|
||||||
return SlideQuestionSchema;
|
return yup.string().required();
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
// console.log('SlideQuestionSchema');
|
// console.log('SlideQuestionSchema');
|
||||||
return SlideQuestionSchema;
|
return yup.string().required();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// console.log('RangeQuestionSchema');
|
// console.log('RangeQuestionSchema');
|
||||||
|
|||||||
Reference in New Issue
Block a user