File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
ui/pages/confirmations/components/gas-details-item Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -102,18 +102,19 @@ const GasDetailsItem = ({
102102 detailTitle = { < Text > { t ( 'estimatedFee' ) } </ Text > }
103103 detailTitleColor = { TextColor . textDefault }
104104 detailText = {
105- useCurrencyRateCheck &&
106105 Object . keys ( draftTransaction ) . length === 0 && (
107106 < div className = "gas-details-item__currency-container" >
108107 < LoadingHeartBeat estimateUsed = { estimateUsed } />
109108 < EditGasFeeIcon
110109 userAcknowledgedGasMissing = { userAcknowledgedGasMissing }
111110 />
112- < UserPreferencedCurrencyDisplay
113- type = { SECONDARY }
114- value = { getTransactionFeeTotal }
115- hideLabel = { Boolean ( useNativeCurrencyAsPrimaryCurrency ) }
116- />
111+ { useCurrencyRateCheck && (
112+ < UserPreferencedCurrencyDisplay
113+ type = { SECONDARY }
114+ value = { getTransactionFeeTotal }
115+ hideLabel = { Boolean ( useNativeCurrencyAsPrimaryCurrency ) }
116+ />
117+ ) }
117118 </ div >
118119 )
119120 }
You can’t perform that action at this time.
0 commit comments