File tree 2 files changed +2
-9
lines changed
2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const Burger = ({ isMarketplaceAppPage }: Props) => {
47
47
< DrawerOverlay />
48
48
< DrawerContent maxWidth = "330px" >
49
49
< DrawerBody p = { 6 } display = "flex" flexDirection = "column" >
50
- { config . chain . isTestnet && < IconSvg name = "testnet " h = "14px" w = "37px" color = "red.400" alignSelf = "flex-start" /> }
50
+ { config . chain . isTestnet && < IconSvg name = "testnetv2 " h = "14px" w = "37px" color = "red.400" alignSelf = "flex-start" /> }
51
51
< Flex alignItems = "center" justifyContent = "space-between" >
52
52
< NetworkLogo onClick = { handleNetworkLogoClick } />
53
53
{ config . UI . sidebar . featuredNetworks ? (
Original file line number Diff line number Diff line change @@ -5,25 +5,18 @@ import { TbCoins } from 'react-icons/tb';
5
5
6
6
import type { Transaction } from 'types/api/transaction' ;
7
7
8
- import config from 'configs/app' ;
9
8
import { ZERO } from 'lib/consts' ;
10
9
import { currencyUnits } from 'lib/units' ;
11
10
import CurrencyValue from 'ui/shared/CurrencyValue' ;
12
11
import * as DetailsInfoItem from 'ui/shared/DetailsInfoItem' ;
13
12
14
- const rollupFeature = config . features . rollup ;
15
-
16
13
interface Props {
17
14
data : Transaction ;
18
15
isLoading ?: boolean ;
19
16
}
20
17
21
18
const TxDetailsBurntFees = ( { data, isLoading } : Props ) => {
22
19
23
- if ( config . UI . views . tx . hiddenFields ?. burnt_fees || ( rollupFeature . isEnabled && rollupFeature . type === 'optimistic' ) ) {
24
- return null ;
25
- }
26
-
27
20
const value = BigNumber ( data . tx_burnt_fee || 0 ) . plus ( BigNumber ( data . blob_gas_used || 0 ) . multipliedBy ( BigNumber ( data . blob_gas_price || 0 ) ) ) ;
28
21
29
22
if ( value . isEqualTo ( ZERO ) ) {
@@ -43,7 +36,7 @@ const TxDetailsBurntFees = ({ data, isLoading }: Props) => {
43
36
</ DetailsInfoItem . Label >
44
37
< DetailsInfoItem . Value >
45
38
< Skeleton isLoaded = { ! isLoading } display = "inline-block" >
46
- < TbCoins size = { 20 } color = "gray.500 " />
39
+ < TbCoins size = { 20 } color = "#718096 " />
47
40
</ Skeleton >
48
41
< CurrencyValue
49
42
value = { value . toString ( ) }
You can’t perform that action at this time.
0 commit comments