Don't prevent user from setting an eth address in to field if there is no ens support.

feature/default_network_editable
Dan 7 years ago
parent 9930f5996c
commit 40bbca5d0d
  1. 4
      ui/app/components/ens-input.js

@ -32,10 +32,10 @@ EnsInput.prototype.render = function () {
const network = this.props.network
const networkHasEnsSupport = getNetworkEnsSupport(network)
if (!networkHasEnsSupport) return
props.onChange(recipient)
if (!networkHasEnsSupport) return
if (recipient.match(ensRE) === null) {
return this.setState({
loadingEns: false,

Loading…
Cancel
Save