mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 23:43:01 +00:00
removing unused router from app.component
This commit is contained in:
@@ -5,7 +5,6 @@ import {
|
|||||||
OnDestroy,
|
OnDestroy,
|
||||||
OnInit, HostListener
|
OnInit, HostListener
|
||||||
} from "@angular/core";
|
} from "@angular/core";
|
||||||
import { Router } from "@angular/router";
|
|
||||||
import { TranslateService } from "ng2-translate";
|
import { TranslateService } from "ng2-translate";
|
||||||
import { HostWindowState } from "./shared/host-window.reducer";
|
import { HostWindowState } from "./shared/host-window.reducer";
|
||||||
import { Store } from "@ngrx/store";
|
import { Store } from "@ngrx/store";
|
||||||
@@ -30,7 +29,6 @@ export class AppComponent implements OnDestroy, OnInit {
|
|||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private translate: TranslateService,
|
private translate: TranslateService,
|
||||||
private router: Router,
|
|
||||||
private store: Store<HostWindowState>
|
private store: Store<HostWindowState>
|
||||||
) {
|
) {
|
||||||
// this language will be used as a fallback when a translation isn't found in the current language
|
// this language will be used as a fallback when a translation isn't found in the current language
|
||||||
|
Reference in New Issue
Block a user