Skip to content

Commit

Permalink
#1 remove unused service
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Jul 7, 2019
1 parent 00c394f commit b965e0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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 => {
Expand Down

0 comments on commit b965e0d

Please sign in to comment.