From c733f38e7e14eeb5c48e7928fa21dd3051dc5313 Mon Sep 17 00:00:00 2001 From: Zak Timson Date: Wed, 14 Nov 2018 14:52:10 -0500 Subject: [PATCH] Fixed build --- src/app/login/login.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index e8040bb..578ddc3 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -15,7 +15,7 @@ export class LoginComponent implements OnInit { ngOnInit() { firebaseApp.auth().onAuthStateChanged(user => { - if(!!user) let ignore = this.ngZone.run(() => this.router.navigate(['/dashboard'])); + if(!!user) this.ngZone.run(() => this.router.navigate(['/dashboard'])); }) }