diff --git a/liquidity/components/icons/EthereumIcon/EthereumIcon.tsx b/liquidity/components/icons/EthereumIcon/EthereumIcon.tsx index 166de8c9d..b8468e0b6 100644 --- a/liquidity/components/icons/EthereumIcon/EthereumIcon.tsx +++ b/liquidity/components/icons/EthereumIcon/EthereumIcon.tsx @@ -1,8 +1,13 @@ import { Icon, IconProps } from '@chakra-ui/react'; -export const EthereumIcon = ({ width = '24px', height = '24px', fill = `#627EEA` }: IconProps) => { +export const EthereumIcon = ({ + width = '24px', + height = '24px', + fill = `#627EEA`, + ...props +}: IconProps) => { return ( - + - + - - {mainnets.concat(showTestnets ? testnets : []).map(({ id, preset, label }) => ( + + {mainnets.map(({ id, preset, label }) => ( setNetwork(id)}> - + {label} ))} + + {showTestnets && } + @@ -140,6 +147,15 @@ export function NetworkController() { /> + + {(showTestnets ? testnets : []).map(({ id, preset, label }) => ( + setNetwork(id)}> + + + {label} + + + ))} {activeWallet ? (