Browse Source
Task/remove unused OnDestroy hook in license page component (#6380)
* Remove unused OnDestroy hook
pull/4073/merge
Thomas Kaul
3 days 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/about/license/license-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: ['./license-page.scss'], |
|
|
|
templateUrl: './license-page.html' |
|
|
|
}) |
|
|
|
export class GfLicensePageComponent implements OnDestroy { |
|
|
|
private unsubscribeSubject = new Subject<void>(); |
|
|
|
|
|
|
|
public ngOnDestroy() { |
|
|
|
this.unsubscribeSubject.next(); |
|
|
|
this.unsubscribeSubject.complete(); |
|
|
|
} |
|
|
|
} |
|
|
|
export class GfLicensePageComponent {} |
|
|
|
|