Make it so that when you click the custom rpc url it closes the dropdown menu

feature/default_network_editable
Frankie 8 years ago
parent f3119d40f5
commit dbae676858
  1. 2
      ui/app/app.js

@ -372,7 +372,7 @@ App.prototype.renderCustomOption = function (rpcTarget) {
return h(DropMenuItem, {
label: `${rpcTarget}`,
closeMenu: () => this.setState({ isNetworkMenuOpen: false }),
action: () => this.props.dispatch(actions.showConfigPage()),
action: () => this.props.dispatch(actions.closeMenu()),
icon: h('i.fa.fa-question-circle.fa-lg', { ariaHidden: true }),
})
}

Loading…
Cancel
Save