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);
|
||||
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",
|
||||
|
|
Loading…
Reference in a new issue