Feature/eliminate OnDestroy lifecycle hook from markets page component (#6653)

Eliminate OnDestroy lifecycle hook
pull/6663/head
Trevin Chow 1 month ago committed by GitHub
parent e934cc4224
commit 3ad4428604
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,7 +1,6 @@
import { GfHomeMarketComponent } from '@ghostfolio/client/components/home-market/home-market.component';
import { Component, OnDestroy } from '@angular/core';
import { Subject } from 'rxjs';
import { Component } from '@angular/core';
@Component({
host: { class: 'page' },
@ -10,11 +9,4 @@ import { Subject } from 'rxjs';
styleUrls: ['./markets-page.scss'],
templateUrl: './markets-page.html'
})
export class GfMarketsPageComponent implements OnDestroy {
private unsubscribeSubject = new Subject<void>();
public ngOnDestroy() {
this.unsubscribeSubject.next();
this.unsubscribeSubject.complete();
}
}
export class GfMarketsPageComponent {}

Loading…
Cancel
Save