mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix network dropdown custom rpc link
This commit is contained in:
parent
c3df1aab8d
commit
8d3091040c
@ -7,7 +7,7 @@ import * as actions from '../../../store/actions'
|
|||||||
import {
|
import {
|
||||||
openAlert as displayInvalidCustomNetworkAlert,
|
openAlert as displayInvalidCustomNetworkAlert,
|
||||||
} from '../../../ducks/alerts/invalid-custom-network'
|
} from '../../../ducks/alerts/invalid-custom-network'
|
||||||
import { NETWORKS_ROUTE } from '../../../helpers/constants/routes'
|
import { NETWORKS_FORM_ROUTE } from '../../../helpers/constants/routes'
|
||||||
import { isPrefixedFormattedHexString } from '../../../../../app/scripts/lib/util'
|
import { isPrefixedFormattedHexString } from '../../../../../app/scripts/lib/util'
|
||||||
import { Dropdown, DropdownMenuItem } from './components/dropdown'
|
import { Dropdown, DropdownMenuItem } from './components/dropdown'
|
||||||
import NetworkDropdownIcon from './components/network-dropdown-icon'
|
import NetworkDropdownIcon from './components/network-dropdown-icon'
|
||||||
@ -338,7 +338,7 @@ class NetworkDropdown extends Component {
|
|||||||
closeMenu={() => this.props.hideNetworkDropdown()}
|
closeMenu={() => this.props.hideNetworkDropdown()}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setNetworksTabAddMode(true)
|
setNetworksTabAddMode(true)
|
||||||
this.props.history.push(NETWORKS_ROUTE)
|
this.props.history.push(NETWORKS_FORM_ROUTE)
|
||||||
}}
|
}}
|
||||||
style={dropdownMenuItemStyle}
|
style={dropdownMenuItemStyle}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user