diff --git a/ui/snippets/header/Burger.tsx b/ui/snippets/header/Burger.tsx index 253f92b72e..ebf78cfb3f 100644 --- a/ui/snippets/header/Burger.tsx +++ b/ui/snippets/header/Burger.tsx @@ -47,7 +47,7 @@ const Burger = ({ isMarketplaceAppPage }: Props) => { - { config.chain.isTestnet && } + { config.chain.isTestnet && } { config.UI.sidebar.featuredNetworks ? ( diff --git a/ui/tx/details/TxDetailsBurntFees.tsx b/ui/tx/details/TxDetailsBurntFees.tsx index eff5a1f88f..e30f80af67 100644 --- a/ui/tx/details/TxDetailsBurntFees.tsx +++ b/ui/tx/details/TxDetailsBurntFees.tsx @@ -5,14 +5,11 @@ import { TbCoins } from 'react-icons/tb'; import type { Transaction } from 'types/api/transaction'; -import config from 'configs/app'; import { ZERO } from 'lib/consts'; import { currencyUnits } from 'lib/units'; import CurrencyValue from 'ui/shared/CurrencyValue'; import * as DetailsInfoItem from 'ui/shared/DetailsInfoItem'; -const rollupFeature = config.features.rollup; - interface Props { data: Transaction; isLoading?: boolean; @@ -20,10 +17,6 @@ interface Props { const TxDetailsBurntFees = ({ data, isLoading }: Props) => { - if (config.UI.views.tx.hiddenFields?.burnt_fees || (rollupFeature.isEnabled && rollupFeature.type === 'optimistic')) { - return null; - } - const value = BigNumber(data.tx_burnt_fee || 0).plus(BigNumber(data.blob_gas_used || 0).multipliedBy(BigNumber(data.blob_gas_price || 0))); if (value.isEqualTo(ZERO)) { @@ -43,7 +36,7 @@ const TxDetailsBurntFees = ({ data, isLoading }: Props) => { - +