Fixed build

This commit is contained in:
Zakary Timson 2018-11-14 14:52:10 -05:00
parent 2c1719ba05
commit c733f38e7e

View File

@ -15,7 +15,7 @@ export class LoginComponent implements OnInit {
ngOnInit() { ngOnInit() {
firebaseApp.auth().onAuthStateChanged(user => { firebaseApp.auth().onAuthStateChanged(user => {
if(!!user) let ignore = this.ngZone.run(() => this.router.navigate(['/dashboard'])); if(!!user) this.ngZone.run(() => this.router.navigate(['/dashboard']));
}) })
} }