Removed some console.log()
This commit is contained in:
parent
bf7af89c78
commit
8bc7076e86
1 changed files with 0 additions and 4 deletions
|
@ -50,8 +50,6 @@ export default function Umfrage() {
|
||||||
setIsEducationOk(true);
|
setIsEducationOk(true);
|
||||||
setIsSkillsOk(true);
|
setIsSkillsOk(true);
|
||||||
setIsSurveyValid(true);
|
setIsSurveyValid(true);
|
||||||
console.log("before valid");
|
|
||||||
console.log(isSurveyValid);
|
|
||||||
|
|
||||||
if (!Number(age)) {
|
if (!Number(age)) {
|
||||||
setAgeErrorMessage("Das Alter muss als Zahl angegeben werden.");
|
setAgeErrorMessage("Das Alter muss als Zahl angegeben werden.");
|
||||||
|
@ -80,8 +78,6 @@ export default function Umfrage() {
|
||||||
setIsSkillsOk(false);
|
setIsSkillsOk(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("after valid");
|
|
||||||
console.log(isSurveyValid);
|
|
||||||
if (isSurveyValid === true) {
|
if (isSurveyValid === true) {
|
||||||
authFetch("/api/protected/umfrage", {
|
authFetch("/api/protected/umfrage", {
|
||||||
method: "post",
|
method: "post",
|
||||||
|
|
Loading…
Reference in a new issue