File tree 2 files changed +14
-0
lines changed
components/brave_wallet_ui
components/buy-send-swap/tabs 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ function SendTab (props: Props) {
65
65
const onClickSelectNetwork = ( network : EthereumChain ) => ( ) => {
66
66
onSelectNetwork ( network )
67
67
setSendView ( 'send' )
68
+
69
+ // Reset amount to 0
70
+ onSetSendAmount ( '0' )
68
71
}
69
72
70
73
const onClickSelectAccount = ( account : UserAccountType ) => ( ) => {
Original file line number Diff line number Diff line change @@ -13,5 +13,16 @@ export const mockNetworks: EthereumChain[] = [
13
13
decimals : 18 ,
14
14
iconUrls : [ ETHIconUrl ] ,
15
15
isEip1559 : true
16
+ } ,
17
+ {
18
+ chainId : '0x3' ,
19
+ chainName : 'Ethereum Testnet Ropsten' ,
20
+ rpcUrls : [ 'https://ropsten.infura.io/v3/' , 'wss://ropsten.infura.io/ws/v3/' ] ,
21
+ blockExplorerUrls : [ 'https://ropsten.etherscan.io/' ] ,
22
+ symbol : 'ROP' ,
23
+ symbolName : 'Ropsten Ether' ,
24
+ decimals : 18 ,
25
+ iconUrls : [ ETHIconUrl ] ,
26
+ isEip1559 : true
16
27
}
17
28
]
You can’t perform that action at this time.
0 commit comments