refactor(deposit): rename close event emitter for clarity
This commit is contained in:
parent
a7d98e1150
commit
abc4277e84
2 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue