Task/remove unused OnDestroy hook in terms of service page component (#6440)

* Remove unused OnDestroy hook
pull/6464/head
Thomas Kaul 3 months ago committed by GitHub
parent 794c8f8016
commit a5d1f5988c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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: ['./terms-of-service-page.scss'],
templateUrl: './terms-of-service-page.html'
})
export class GfTermsOfServicePageComponent implements OnDestroy {
private unsubscribeSubject = new Subject<void>();
public ngOnDestroy() {
this.unsubscribeSubject.next();
this.unsubscribeSubject.complete();
}
}
export class GfTermsOfServicePageComponent {}

Loading…
Cancel
Save