From 55e07d6acd88c9b54cbe8ac8e9d52f02601cab9f Mon Sep 17 00:00:00 2001 From: xgui3783 <xgui3783@gmail.com> Date: Mon, 6 Jul 2020 15:13:28 +0200 Subject: [PATCH] fix lint (#578) --- src/ui/viewerStateController/viewerState.useEffect.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/ui/viewerStateController/viewerState.useEffect.ts b/src/ui/viewerStateController/viewerState.useEffect.ts index eae987657..f0027fa50 100644 --- a/src/ui/viewerStateController/viewerState.useEffect.ts +++ b/src/ui/viewerStateController/viewerState.useEffect.ts @@ -1,4 +1,4 @@ -import { Injectable, OnDestroy, OnInit } from "@angular/core"; +import { Injectable, OnDestroy } from "@angular/core"; import { Actions, Effect, ofType } from "@ngrx/effects"; import { Action, select, Store } from "@ngrx/store"; import { Observable, Subscription, of, merge } from "rxjs"; @@ -16,7 +16,7 @@ import { viewerStateToggleRegionSelect, viewerStateSelectParcellationWithId, vie providedIn: 'root', }) -export class ViewerStateControllerUseEffect implements OnInit, OnDestroy { +export class ViewerStateControllerUseEffect implements OnDestroy { private subscriptions: Subscription[] = [] @@ -284,9 +284,6 @@ export class ViewerStateControllerUseEffect implements OnInit, OnDestroy { ) } - public ngOnInit() { - } - public ngOnDestroy() { while (this.subscriptions.length > 0) { this.subscriptions.pop().unsubscribe() -- GitLab