refactor(deposit): rename close event emitter for clarity

This commit is contained in:
Jan K9f 2025-03-12 19:25:11 +01:00
parent a7d98e1150
commit abc4277e84
Signed by: jank
GPG key ID: 22BEAC760B3333D6
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ import gsap from 'gsap';
})
export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {
@Input() isOpen = false;
@Output() close = new EventEmitter<void>();
@Output() closeModalEmitter = new EventEmitter<void>();
@ViewChild('modalBg') modalBg!: ElementRef;
@ViewChild('modalCard') modalCard!: ElementRef;
protected form!: FormGroup;
@ -110,7 +110,7 @@ export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnCha
this.modalAnimationService.closeModal(
this.modalCard.nativeElement,
this.modalBg.nativeElement,
() => this.close.emit()
() => this.closeModalEmitter.emit()
);
}
}