Fix accelerated arrow not appearing

This commit is contained in:
natsoni 2024-08-18 14:15:56 +02:00
parent aa3fa4478a
commit e3c4e219f3
No known key found for this signature in database
GPG Key ID: C65917583181743B

View File

@ -213,7 +213,7 @@ export class MempoolBlocksComponent implements OnInit, OnChanges, OnDestroy {
}
if (state.mempoolPosition) {
this.txPosition = state.mempoolPosition;
if (this.txPosition.accelerated && !oldTxPosition.accelerated) {
if (this.txPosition.accelerated && !oldTxPosition?.accelerated) {
this.acceleratingArrow = true;
setTimeout(() => {
this.acceleratingArrow = false;