refactor(deposit): remove unnecessary comments in code
This commit is contained in:
parent
08a1a5e877
commit
1569922fda
1 changed files with 0 additions and 3 deletions
|
@ -64,10 +64,7 @@ export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnCha
|
||||||
|
|
||||||
ngOnChanges(changes: SimpleChanges) {
|
ngOnChanges(changes: SimpleChanges) {
|
||||||
if (changes['isOpen']) {
|
if (changes['isOpen']) {
|
||||||
// Force change detection to ensure DOM is updated
|
|
||||||
this.cdr.detectChanges();
|
this.cdr.detectChanges();
|
||||||
|
|
||||||
// Small delay to ensure DOM is ready
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (this.modalBg?.nativeElement && this.modalCard?.nativeElement) {
|
if (this.modalBg?.nativeElement && this.modalCard?.nativeElement) {
|
||||||
if (changes['isOpen'].currentValue) {
|
if (changes['isOpen'].currentValue) {
|
||||||
|
|
Reference in a new issue