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...
66npx lint-staged
77
88# 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
1617
1718echo ✅ All pre-commit jobs are done
Original file line number Diff line number Diff line change @@ -963,7 +963,7 @@ const BlockDetails = ({ query }: Props) => {
963963 </ DetailsInfoItem . Label >
964964 < DetailsInfoItem . Value >
965965 < Skeleton isLoaded = { ! isPlaceholderData } display = "inline-block" >
966- < TbCoins size = { 20 } color = "gray.500 " />
966+ < TbCoins size = { 20 } color = "#718096 " />
967967 </ Skeleton >
968968 < Skeleton isLoaded = { ! isPlaceholderData } ml = { 2 } >
969969 { burntFees . dividedBy ( WEI ) . toFixed ( ) } { currencyUnits . ether }
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const Burger = ({ isMarketplaceAppPage }: Props) => {
4747 < DrawerOverlay />
4848 < DrawerContent maxWidth = "330px" >
4949 < 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" /> }
5151 < Flex alignItems = "center" justifyContent = "space-between" >
5252 < NetworkLogo onClick = { handleNetworkLogoClick } />
5353 { config . UI . sidebar . featuredNetworks ? (
Original file line number Diff line number Diff line change @@ -5,31 +5,19 @@ import { TbCoins } from 'react-icons/tb';
55
66import type { Transaction } from 'types/api/transaction' ;
77
8- import config from 'configs/app' ;
9- import { ZERO } from 'lib/consts' ;
108import { currencyUnits } from 'lib/units' ;
119import CurrencyValue from 'ui/shared/CurrencyValue' ;
1210import * as DetailsInfoItem from 'ui/shared/DetailsInfoItem' ;
1311
14- const rollupFeature = config . features . rollup ;
15-
1612interface Props {
1713 data : Transaction ;
1814 isLoading ?: boolean ;
1915}
2016
2117const TxDetailsBurntFees = ( { data, isLoading } : Props ) => {
2218
23- if ( config . UI . views . tx . hiddenFields ?. burnt_fees || ( rollupFeature . isEnabled && rollupFeature . type === 'optimistic' ) ) {
24- return null ;
25- }
26-
2719 const value = BigNumber ( data . tx_burnt_fee || 0 ) . plus ( BigNumber ( data . blob_gas_used || 0 ) . multipliedBy ( BigNumber ( data . blob_gas_price || 0 ) ) ) ;
2820
29- if ( value . isEqualTo ( ZERO ) ) {
30- return null ;
31- }
32-
3321 return (
3422 < >
3523 < DetailsInfoItem . Label
@@ -43,7 +31,7 @@ const TxDetailsBurntFees = ({ data, isLoading }: Props) => {
4331 </ DetailsInfoItem . Label >
4432 < DetailsInfoItem . Value >
4533 < Skeleton isLoaded = { ! isLoading } display = "inline-block" >
46- < TbCoins size = { 20 } color = "gray.500 " />
34+ < TbCoins size = { 20 } color = "#718096 " />
4735 </ Skeleton >
4836 < CurrencyValue
4937 value = { value . toString ( ) }
You can’t perform that action at this time.
0 commit comments