Fix broken loader in accelerate fee rate line

This commit is contained in:
natsoni
2024-07-12 17:15:51 +09:00
parent 06b696f0bb
commit 6aa3e38af2
2 changed files with 1 additions and 4 deletions

View File

@@ -640,9 +640,7 @@
<td>
<div class="effective-fee-container">
@if (accelerationInfo?.acceleratedFeeRate && (!tx.effectiveFeePerVsize || accelerationInfo.acceleratedFeeRate >= tx.effectiveFeePerVsize || tx.acceleration)) {
@if (!tx.effectiveFeePerVsize) { <!-- Avoid briefly displaying a wrong accelerated fee rate while loading -->
<span class="skeleton-loader"></span>
} @else {
@if (tx.effectiveFeePerVsize) { <!-- Avoid briefly displaying a wrong accelerated fee rate while loading -->
<app-fee-rate [fee]="accelerationInfo.acceleratedFeeRate"></app-fee-rate>
}
} @else {