Browse Source
Task/remove unused OnDestroy hook in i18n page component (#6441)
* 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
1 additions and
9 deletions
-
apps/client/src/app/pages/i18n/i18n-page.component.ts
|
|
@ -1,5 +1,4 @@ |
|
|
import { Component } from '@angular/core'; |
|
|
import { Component } from '@angular/core'; |
|
|
import { Subject } from 'rxjs'; |
|
|
|
|
|
|
|
|
|
|
|
@Component({ |
|
|
@Component({ |
|
|
host: { class: 'page' }, |
|
|
host: { class: 'page' }, |
|
|
@ -8,11 +7,4 @@ import { Subject } from 'rxjs'; |
|
|
styleUrls: ['./i18n-page.scss'], |
|
|
styleUrls: ['./i18n-page.scss'], |
|
|
templateUrl: './i18n-page.html' |
|
|
templateUrl: './i18n-page.html' |
|
|
}) |
|
|
}) |
|
|
export class GfI18nPageComponent { |
|
|
export class GfI18nPageComponent {} |
|
|
private unsubscribeSubject = new Subject<void>(); |
|
|
|
|
|
|
|
|
|
|
|
public ngOnDestroy() { |
|
|
|
|
|
this.unsubscribeSubject.next(); |
|
|
|
|
|
this.unsubscribeSubject.complete(); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|