Removed some console.log()

This commit is contained in:
cami 2021-07-12 00:14:47 +02:00
parent bf7af89c78
commit 8bc7076e86

View file

@ -50,8 +50,6 @@ export default function Umfrage() {
setIsEducationOk(true);
setIsSkillsOk(true);
setIsSurveyValid(true);
console.log("before valid");
console.log(isSurveyValid);
if (!Number(age)) {
setAgeErrorMessage("Das Alter muss als Zahl angegeben werden.");
@ -80,8 +78,6 @@ export default function Umfrage() {
setIsSkillsOk(false);
}
console.log("after valid");
console.log(isSurveyValid);
if (isSurveyValid === true) {
authFetch("/api/protected/umfrage", {
method: "post",