- {/* TODO: could componentize */}
-
- {t('receive')}
+ {showPendingStatus && (
+
+ {/* TODO: could componentize */}
+
+ {t('receive')}
+
+ {receivedWrappedTokenAmount.toHuman(8)}
+
+ {WRAPPED_TOKEN_SYMBOL}
+
- {receivedWrappedTokenAmount.toHuman(8)}
+ {`≈ ${displayMonetaryAmountInUSDFormat(
+ receivedWrappedTokenAmount,
+ getTokenPrice(prices, ForeignAssetIdLiteral.BTC)?.usd
+ )}`}
- {WRAPPED_TOKEN_SYMBOL}
-
-
- {`≈ ${displayMonetaryAmountInUSDFormat(
- receivedWrappedTokenAmount,
- getTokenPrice(prices, ForeignAssetIdLiteral.BTC)?.usd
- )}`}
-
-
+
- <>{renderModalStatusPanel(issue)}>
+ <>{renderModalStatusPanel(issue, showPendingStatus)}>
);
};