Browse Source
Task/remove unused OnDestroy hook in self-hosting FAQ page component (#6436)
* Remove unused OnDestroy hook
pull/6464/head
Thomas Kaul
1 day ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
10 deletions
-
apps/client/src/app/pages/faq/self-hosting/self-hosting-page.component.ts
|
|
|
@ -1,10 +1,9 @@ |
|
|
|
import { publicRoutes } from '@ghostfolio/common/routes/routes'; |
|
|
|
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator'; |
|
|
|
|
|
|
|
import { CUSTOM_ELEMENTS_SCHEMA, Component, OnDestroy } from '@angular/core'; |
|
|
|
import { CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core'; |
|
|
|
import { MatCardModule } from '@angular/material/card'; |
|
|
|
import { RouterModule } from '@angular/router'; |
|
|
|
import { Subject } from 'rxjs'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
host: { class: 'page' }, |
|
|
|
@ -14,13 +13,6 @@ import { Subject } from 'rxjs'; |
|
|
|
styleUrls: ['./self-hosting-page.scss'], |
|
|
|
templateUrl: './self-hosting-page.html' |
|
|
|
}) |
|
|
|
export class GfSelfHostingPageComponent implements OnDestroy { |
|
|
|
export class GfSelfHostingPageComponent { |
|
|
|
public pricingUrl = `https://ghostfol.io/${document.documentElement.lang}/${publicRoutes.pricing.path}`; |
|
|
|
|
|
|
|
private unsubscribeSubject = new Subject<void>(); |
|
|
|
|
|
|
|
public ngOnDestroy() { |
|
|
|
this.unsubscribeSubject.next(); |
|
|
|
this.unsubscribeSubject.complete(); |
|
|
|
} |
|
|
|
} |
|
|
|
|