1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 08:09:15 +01:00

Fix Localhost 8545 option in network dropdown (#2357)

This commit is contained in:
Alexander Tseung 2017-10-13 16:25:33 -04:00 committed by Daniel Tsui
parent 54a61a4021
commit a84014eff8

View File

@ -189,7 +189,7 @@ NetworkDropdown.prototype.render = function () {
{ {
key: 'default', key: 'default',
closeMenu: () => this.props.hideNetworkDropdown(), closeMenu: () => this.props.hideNetworkDropdown(),
onClick: () => props.setDefaultRpcTarget(), onClick: () => props.setRpcTarget('http://localhost:8545'),
style: dropdownMenuItemStyle, style: dropdownMenuItemStyle,
}, },
[ [