Commit c4cee878 authored by tom's avatar tom

fix

parent dbbc311d
...@@ -378,7 +378,7 @@ const TxDetails = () => { ...@@ -378,7 +378,7 @@ const TxDetails = () => {
) : ( ) : (
<CurrencyValue <CurrencyValue
value={ data.fee.value } value={ data.fee.value }
currency={ config.UI.views.tx.hiddenFields?.fee_currency ? '' : currencyUnits } currency={ config.UI.views.tx.hiddenFields?.fee_currency ? '' : currencyUnits.ether }
exchangeRate={ data.exchange_rate } exchangeRate={ data.exchange_rate }
flexWrap="wrap" flexWrap="wrap"
isLoading={ isPlaceholderData } isLoading={ isPlaceholderData }
...@@ -438,12 +438,12 @@ const TxDetails = () => { ...@@ -438,12 +438,12 @@ const TxDetails = () => {
{ data.tx_burnt_fee && !config.UI.views.tx.hiddenFields?.burnt_fees && !config.features.optimisticRollup.isEnabled && ( { data.tx_burnt_fee && !config.UI.views.tx.hiddenFields?.burnt_fees && !config.features.optimisticRollup.isEnabled && (
<DetailsInfoItem <DetailsInfoItem
title="Burnt fees" title="Burnt fees"
hint={ `Amount of ${ currencyUnits } burned for this transaction. Equals Block Base Fee per Gas * Gas Used` } hint={ `Amount of ${ currencyUnits.ether } burned for this transaction. Equals Block Base Fee per Gas * Gas Used` }
> >
<IconSvg name="flame" boxSize={ 5 } color="gray.500"/> <IconSvg name="flame" boxSize={ 5 } color="gray.500"/>
<CurrencyValue <CurrencyValue
value={ String(data.tx_burnt_fee) } value={ String(data.tx_burnt_fee) }
currency={ currencyUnits } currency={ currencyUnits.ether }
exchangeRate={ data.exchange_rate } exchangeRate={ data.exchange_rate }
flexWrap="wrap" flexWrap="wrap"
ml={ 2 } ml={ 2 }
...@@ -480,7 +480,7 @@ const TxDetails = () => { ...@@ -480,7 +480,7 @@ const TxDetails = () => {
> >
<CurrencyValue <CurrencyValue
value={ data.l1_fee } value={ data.l1_fee }
currency={ currencyUnits } currency={ currencyUnits.ether }
exchangeRate={ data.exchange_rate } exchangeRate={ data.exchange_rate }
flexWrap="wrap" flexWrap="wrap"
/> />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment