Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/eliminate OnDestroy lifecycle hook from markets page component (#6653)
Trevin Chow3ad4428604e3
diff --git a/apps/client/src/app/pages/markets/markets-page.component.ts b/apps/client/src/app/pages/markets/markets-page.component.tsindex 1ab97c3e01..c70cb81203 100644--- a/apps/client/src/app/pages/markets/markets-page.component.ts+++ b/apps/client/src/app/pages/markets/markets-page.component.ts@@ -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 {}