Commit 3e5da1d0 by Tuukka Kivilahti

cleanup

1 parent e24385dc
Showing with 1 additions and 5 deletions
import {Component, NgZone} from '@angular/core'; import {Component, NgZone} from '@angular/core';
import {Router} from '@angular/router'; import {Router} from '@angular/router';
import {TranslateService} from '@ngx-translate/core';
import {DEFAULT_LOCALE, MoyaLocaleService} from './components/moya-locale/moya-locale.service';
declare var window: any; declare var window: any;
...@@ -14,7 +12,7 @@ declare var window: any; ...@@ -14,7 +12,7 @@ declare var window: any;
}) })
export class AppComponent { export class AppComponent {
constructor(private router: Router, private zone: NgZone, private translate: TranslateService) { constructor(private router: Router, private zone: NgZone) {
window.angularRoute = (url => { window.angularRoute = (url => {
zone.run(() => { zone.run(() => {
...@@ -22,9 +20,7 @@ export class AppComponent { ...@@ -22,9 +20,7 @@ export class AppComponent {
}); });
}); });
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!