Merge pull request #3875 from danjm/i3837-to-field-rinkeby-kovan

Don't prevent user from sending to eth address when no ENS support
feature/default_network_editable
Thomas Huang 7 years ago committed by GitHub
commit 2e70610423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ui/app/components/ens-input.js

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

Loading…
Cancel
Save