Browse Source

Remove unused OnDestroy hook

pull/6381/head
Thomas Kaul 6 days ago
parent
commit
cc2efbd6fc
  1. 12
      apps/client/src/app/pages/about/privacy-policy/privacy-policy-page.component.ts

12
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 { MarkdownModule } from 'ngx-markdown';
import { Subject } from 'rxjs';
@Component({ @Component({
imports: [MarkdownModule], imports: [MarkdownModule],
@ -8,11 +7,4 @@ import { Subject } from 'rxjs';
styleUrls: ['./privacy-policy-page.scss'], styleUrls: ['./privacy-policy-page.scss'],
templateUrl: './privacy-policy-page.html' templateUrl: './privacy-policy-page.html'
}) })
export class GfPrivacyPolicyPageComponent implements OnDestroy { export class GfPrivacyPolicyPageComponent {}
private unsubscribeSubject = new Subject<void>();
public ngOnDestroy() {
this.unsubscribeSubject.next();
this.unsubscribeSubject.complete();
}
}

Loading…
Cancel
Save