Fixes changed after checked error in transaction page

This commit is contained in:
softsimon 2023-03-10 12:37:55 +09:00
parent cec8445223
commit dd01371b61
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -496,7 +496,9 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
@HostListener('window:resize', ['$event'])
setGraphSize(): void {
if (this.graphContainer) {
this.graphWidth = this.graphContainer.nativeElement.clientWidth;
setTimeout(() => {
this.graphWidth = this.graphContainer.nativeElement.clientWidth;
}, 1);
}
}