diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2018-04-05 02:32:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 02:32:02 +0800 |
commit | 2e70610423000abf74e95c36342f1eec74bc606f (patch) | |
tree | 796a1837f7ee9e630a414016128f030d7e4f27d0 | |
parent | 9817c2c104799964eb0293874a43f62c17881927 (diff) | |
parent | 40bbca5d0d08bd8121712656989e0464104e6903 (diff) | |
download | tangerine-wallet-browser-2e70610423000abf74e95c36342f1eec74bc606f.tar tangerine-wallet-browser-2e70610423000abf74e95c36342f1eec74bc606f.tar.gz tangerine-wallet-browser-2e70610423000abf74e95c36342f1eec74bc606f.tar.bz2 tangerine-wallet-browser-2e70610423000abf74e95c36342f1eec74bc606f.tar.lz tangerine-wallet-browser-2e70610423000abf74e95c36342f1eec74bc606f.tar.xz tangerine-wallet-browser-2e70610423000abf74e95c36342f1eec74bc606f.tar.zst tangerine-wallet-browser-2e70610423000abf74e95c36342f1eec74bc606f.zip |
Merge pull request #3875 from danjm/i3837-to-field-rinkeby-kovan
Don't prevent user from sending to eth address when no ENS support
-rw-r--r-- | ui/app/components/ens-input.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/ens-input.js b/ui/app/components/ens-input.js index 1f3946817..feb0a7037 100644 --- a/ui/app/components/ens-input.js +++ b/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, |