File tree Expand file tree Collapse file tree 4 files changed +11
-22
lines changed Expand file tree Collapse file tree 4 files changed +11
-22
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,13 @@ echo 🧿 Running file linter...
6
6
npx lint-staged
7
7
8
8
# format svg
9
- echo 🧿 Running svg formatter...
10
- for file in ` git diff --diff-filter=ACMRT --cached --name-only | grep " .svg\$ " `
11
- do
12
- echo " Formatting $file "
13
- ./node_modules/.bin/svgo -q $file
14
- git add $file
15
- done
9
+ # todo: disable for now. investigate why it's failing then re-enable
10
+ # echo 🧿 Running svg formatter...
11
+ # for file in `git diff --diff-filter=ACMRT --cached --name-only | grep ".svg\$"`
12
+ # do
13
+ # echo "Formatting $file"
14
+ # ./node_modules/.bin/svgo -q $file
15
+ # git add $file
16
+ # done
16
17
17
18
echo ✅ All pre-commit jobs are done
Original file line number Diff line number Diff line change @@ -963,7 +963,7 @@ const BlockDetails = ({ query }: Props) => {
963
963
</ DetailsInfoItem . Label >
964
964
< DetailsInfoItem . Value >
965
965
< Skeleton isLoaded = { ! isPlaceholderData } display = "inline-block" >
966
- < TbCoins size = { 20 } color = "gray.500 " />
966
+ < TbCoins size = { 20 } color = "#718096 " />
967
967
</ Skeleton >
968
968
< Skeleton isLoaded = { ! isPlaceholderData } ml = { 2 } >
969
969
{ burntFees . dividedBy ( WEI ) . toFixed ( ) } { currencyUnits . ether }
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,31 +5,19 @@ 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
- import { ZERO } from 'lib/consts' ;
10
8
import { currencyUnits } from 'lib/units' ;
11
9
import CurrencyValue from 'ui/shared/CurrencyValue' ;
12
10
import * as DetailsInfoItem from 'ui/shared/DetailsInfoItem' ;
13
11
14
- const rollupFeature = config . features . rollup ;
15
-
16
12
interface Props {
17
13
data : Transaction ;
18
14
isLoading ?: boolean ;
19
15
}
20
16
21
17
const TxDetailsBurntFees = ( { data, isLoading } : Props ) => {
22
18
23
- if ( config . UI . views . tx . hiddenFields ?. burnt_fees || ( rollupFeature . isEnabled && rollupFeature . type === 'optimistic' ) ) {
24
- return null ;
25
- }
26
-
27
19
const value = BigNumber ( data . tx_burnt_fee || 0 ) . plus ( BigNumber ( data . blob_gas_used || 0 ) . multipliedBy ( BigNumber ( data . blob_gas_price || 0 ) ) ) ;
28
20
29
- if ( value . isEqualTo ( ZERO ) ) {
30
- return null ;
31
- }
32
-
33
21
return (
34
22
< >
35
23
< DetailsInfoItem . Label
@@ -43,7 +31,7 @@ const TxDetailsBurntFees = ({ data, isLoading }: Props) => {
43
31
</ DetailsInfoItem . Label >
44
32
< DetailsInfoItem . Value >
45
33
< Skeleton isLoaded = { ! isLoading } display = "inline-block" >
46
- < TbCoins size = { 20 } color = "gray.500 " />
34
+ < TbCoins size = { 20 } color = "#718096 " />
47
35
</ Skeleton >
48
36
< CurrencyValue
49
37
value = { value . toString ( ) }
You can’t perform that action at this time.
0 commit comments