Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Task/remove unused OnDestroy hook in privacy policy page component (#6381)
Thomas Kaul28bf3dff0793
diff --git a/apps/client/src/app/pages/about/privacy-policy/privacy-policy-page.component.ts b/apps/client/src/app/pages/about/privacy-policy/privacy-policy-page.component.tsindex 78881cd2c7..50e4e3e2fb 100644--- a/apps/client/src/app/pages/about/privacy-policy/privacy-policy-page.component.ts+++ b/apps/client/src/app/pages/about/privacy-policy/privacy-policy-page.component.ts@@ -1,6 +1,5 @@-import { Component, OnDestroy } from '@angular/core';+import { Component } from '@angular/core';import { MarkdownModule } from 'ngx-markdown';-import { Subject } from 'rxjs';@Component({imports: [MarkdownModule],@@ -8,11 +7,4 @@ import { Subject } from 'rxjs';styleUrls: ['./privacy-policy-page.scss'],templateUrl: './privacy-policy-page.html'})-export class GfPrivacyPolicyPageComponent implements OnDestroy {- private unsubscribeSubject = new Subject<void>();-- public ngOnDestroy() {- this.unsubscribeSubject.next();- this.unsubscribeSubject.complete();- }-}+export class GfPrivacyPolicyPageComponent {}