Add explanatory comment

feature/default_network_editable
Erik Marks 4 years ago
parent 47d94489b7
commit 58d19745c9
  1. 3
      ui/app/pages/settings/networks-tab/network-form/network-form.component.js

@ -68,6 +68,9 @@ export default class NetworkForm extends PureComponent {
}
componentWillUnmount () {
// onClear will push the network settings route unless was pass false.
// Since we call onClear to cause this component to be unmounted, the
// route will already have been updated, and we avoid setting it twice.
this.props.onClear(false)
this.setState({
rpcUrl: '',

Loading…
Cancel
Save