From 8b42e2929bdc29a53e7a7ed5016b2fd8106d9861 Mon Sep 17 00:00:00 2001 From: Zak Timson Date: Wed, 14 Nov 2018 19:11:01 -0500 Subject: [PATCH] Fixed build error --- src/app/login/login.component.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 29cbdbc..6bf57b1 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -1,5 +1,4 @@ import {Component, NgZone, OnInit} from '@angular/core'; -import {environment} from '../../environments/environment'; import {firebaseApp} from '../app.module'; import {Router} from '@angular/router'; import * as firebase from 'firebase'; @@ -12,7 +11,6 @@ import {expandDown} from '../animations'; }) export class LoginComponent implements OnInit { animate = false; - environment = environment; constructor(private router: Router, private ngZone: NgZone) { } @@ -21,7 +19,7 @@ export class LoginComponent implements OnInit { if(!!user) this.ngZone.run(() => this.router.navigate(['/dashboard'])); }); - setTimeout(this.ngZone.run(() => this.animate = true), 1000); + setTimeout(() => this.ngZone.run(() => this.animate = true), 1000); } async login() {