143. Login component - Unsubscribe (#18)
This commit is contained in:
@ -58,6 +58,7 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
ngOnDestroy(): void {
|
||||
this.subscriptions.forEach(sub => sub.unsubscribe());
|
||||
}
|
||||
|
||||
private sendErrorNotification(message: string) {
|
||||
|
||||
Reference in New Issue
Block a user