|
|
@ -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} |
|
|
|
> |
|
|
|
> |
|
|
|