diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 8d5fb02f..1a855be9 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -2,7 +2,6 @@ import { Component, OnDestroy } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { Subscription } from 'rxjs'; import { I18nService } from './shared/i18n.service'; -import { Router } from '@angular/router'; @Component({ selector: 'app-root', @@ -12,7 +11,7 @@ export class AppComponent implements OnDestroy { private langChangeSub : Subscription; - constructor(translate: TranslateService, i18nService: I18nService, private router: Router) { + constructor(translate: TranslateService, i18nService: I18nService) { translate.setDefaultLang('en'); this.langChangeSub = translate.onLangChange.subscribe(langChange => {