diff --git a/components/brave_wallet_ui/components/buy-send-swap/tabs/send-tab.tsx b/components/brave_wallet_ui/components/buy-send-swap/tabs/send-tab.tsx index e1fc14244b41..102e0d7b073e 100644 --- a/components/brave_wallet_ui/components/buy-send-swap/tabs/send-tab.tsx +++ b/components/brave_wallet_ui/components/buy-send-swap/tabs/send-tab.tsx @@ -65,6 +65,9 @@ function SendTab (props: Props) { const onClickSelectNetwork = (network: EthereumChain) => () => { onSelectNetwork(network) setSendView('send') + + // Reset amount to 0 + onSetSendAmount('0') } const onClickSelectAccount = (account: UserAccountType) => () => { diff --git a/components/brave_wallet_ui/stories/mock-data/mock-networks.ts b/components/brave_wallet_ui/stories/mock-data/mock-networks.ts index 2a388bdc4cb8..6b55a733a0b6 100644 --- a/components/brave_wallet_ui/stories/mock-data/mock-networks.ts +++ b/components/brave_wallet_ui/stories/mock-data/mock-networks.ts @@ -13,5 +13,16 @@ export const mockNetworks: EthereumChain[] = [ decimals: 18, iconUrls: [ETHIconUrl], isEip1559: true + }, + { + chainId: '0x3', + chainName: 'Ethereum Testnet Ropsten', + rpcUrls: ['https://ropsten.infura.io/v3/', 'wss://ropsten.infura.io/ws/v3/'], + blockExplorerUrls: ['https://ropsten.etherscan.io/'], + symbol: 'ROP', + symbolName: 'Ropsten Ether', + decimals: 18, + iconUrls: [ETHIconUrl], + isEip1559: true } ]