aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-06-06 04:00:15 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-06-06 04:00:15 +0800
commit94fedd1fc9d44054670b9f60ae6f92b409e7b25e (patch)
tree6a31ea3ca2987fd5767f364daab2cf0bc30b857a /ui/app/components
parentec99bfd5531922e7d153709c1a77f1c40cae9e99 (diff)
downloadtangerine-wallet-browser-94fedd1fc9d44054670b9f60ae6f92b409e7b25e.tar
tangerine-wallet-browser-94fedd1fc9d44054670b9f60ae6f92b409e7b25e.tar.gz
tangerine-wallet-browser-94fedd1fc9d44054670b9f60ae6f92b409e7b25e.tar.bz2
tangerine-wallet-browser-94fedd1fc9d44054670b9f60ae6f92b409e7b25e.tar.lz
tangerine-wallet-browser-94fedd1fc9d44054670b9f60ae6f92b409e7b25e.tar.xz
tangerine-wallet-browser-94fedd1fc9d44054670b9f60ae6f92b409e7b25e.tar.zst
tangerine-wallet-browser-94fedd1fc9d44054670b9f60ae6f92b409e7b25e.zip
Fix for quick switch on ENS names
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/ens-input.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/ens-input.js b/ui/app/components/ens-input.js
index 16a3a684c..43bb7ab22 100644
--- a/ui/app/components/ens-input.js
+++ b/ui/app/components/ens-input.js
@@ -21,6 +21,7 @@ EnsInput.prototype.render = function () {
const opts = extend(props, {
list: 'addresses',
onChange: () => {
+ this.setState({ ensResolution: '0x0000000000000000000000000000000000000000' })
const network = this.props.network
const networkHasEnsSupport = getNetworkEnsSupport(network)
if (!networkHasEnsSupport) return
@@ -102,6 +103,7 @@ EnsInput.prototype.lookupEnsName = function () {
ensResolution: address,
nickname: recipient.trim(),
hoverText: address + '\nClick to Copy',
+ ensFailure: false,
})
}
})