aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/ens-input.js
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2018-04-05 05:28:25 +0800
committerfrankiebee <frankie.diamond@gmail.com>2018-04-05 05:28:25 +0800
commit6ab938546c3b41d188df62f0cc180aa9b6c72cf6 (patch)
tree28a7b36371355fe1893cc72ae14f5fbb032b5a1a /ui/app/components/ens-input.js
parentef21af29f2df31cdd193823e3dc0762a1ef571b4 (diff)
parente1b1da9113e6d2d7adf0096bbfbbc4a807c07613 (diff)
downloadtangerine-wallet-browser-6ab938546c3b41d188df62f0cc180aa9b6c72cf6.tar
tangerine-wallet-browser-6ab938546c3b41d188df62f0cc180aa9b6c72cf6.tar.gz
tangerine-wallet-browser-6ab938546c3b41d188df62f0cc180aa9b6c72cf6.tar.bz2
tangerine-wallet-browser-6ab938546c3b41d188df62f0cc180aa9b6c72cf6.tar.lz
tangerine-wallet-browser-6ab938546c3b41d188df62f0cc180aa9b6c72cf6.tar.xz
tangerine-wallet-browser-6ab938546c3b41d188df62f0cc180aa9b6c72cf6.tar.zst
tangerine-wallet-browser-6ab938546c3b41d188df62f0cc180aa9b6c72cf6.zip
Merge branch 'master' of https://github.com/MetaMask/metamask-extension into normalize-transactions
Diffstat (limited to 'ui/app/components/ens-input.js')
-rw-r--r--ui/app/components/ens-input.js4
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,