Removed unecessary console logs (WW-3)

This commit is contained in:
Fran Jurmanović
2021-05-29 21:47:14 +02:00
parent 782642202a
commit 8723e2c515
2 changed files with 1 additions and 5 deletions

View File

@@ -19,7 +19,6 @@ class BaseLayoutElement extends HTMLElement {
}; };
setElement = (newTag: string) => { setElement = (newTag: string) => {
console.log(this.innerHTML);
this.slotted.innerHTML = `<${newTag}></${newTag}>`; this.slotted.innerHTML = `<${newTag}></${newTag}>`;
}; };
} }

View File

@@ -34,14 +34,11 @@ class RegisterPageElement extends HTMLElement {
const response = await this.appMain.authStore.userLogin( const response = await this.appMain.authStore.userLogin(
this.values this.values
); );
console.log(response);
if (response?.token) { if (response?.token) {
this.appMain.routerService.goTo("/"); this.appMain.routerService.goTo("/");
} }
} catch (err) { } catch (err) {}
console.log(err);
}
}; };
validate(): boolean { validate(): boolean {