Skip to content
Snippets Groups Projects
Unverified Commit 55e07d6a authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

fix lint (#578)

parent 21b67d47
No related branches found
No related tags found
No related merge requests found
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()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment