Merge pull request #3300 from mempool/simon/fix-transaction-expression-changed-error

Fixes changed after checked error in transaction page
This commit is contained in:
softsimon
2023-03-11 10:01:58 +09:00
committed by GitHub

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);
}
}