aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/ens-input.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-05-09 03:29:08 +0800
committerkumavis <aaron@kumavis.me>2017-05-09 03:29:08 +0800
commit68be86abe959afd26ea50e0833c552c442bfce51 (patch)
tree23eb3f52e9ce9ce053dd40ad10d71ce5c7842460 /ui/app/components/ens-input.js
parent1c44dd3353c51b6135c06188e8cd57690e0d30fc (diff)
downloadtangerine-wallet-browser-68be86abe959afd26ea50e0833c552c442bfce51.tar
tangerine-wallet-browser-68be86abe959afd26ea50e0833c552c442bfce51.tar.gz
tangerine-wallet-browser-68be86abe959afd26ea50e0833c552c442bfce51.tar.bz2
tangerine-wallet-browser-68be86abe959afd26ea50e0833c552c442bfce51.tar.lz
tangerine-wallet-browser-68be86abe959afd26ea50e0833c552c442bfce51.tar.xz
tangerine-wallet-browser-68be86abe959afd26ea50e0833c552c442bfce51.tar.zst
tangerine-wallet-browser-68be86abe959afd26ea50e0833c552c442bfce51.zip
ui - remove web3, use eth-query
Diffstat (limited to 'ui/app/components/ens-input.js')
-rw-r--r--ui/app/components/ens-input.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/ens-input.js b/ui/app/components/ens-input.js
index f1cf49998..0457bde2e 100644
--- a/ui/app/components/ens-input.js
+++ b/ui/app/components/ens-input.js
@@ -75,7 +75,7 @@ EnsInput.prototype.componentDidMount = function () {
const resolverAddress = networkResolvers[network]
if (resolverAddress) {
- const provider = web3.currentProvider
+ const provider = global.ethereumProvider
this.ens = new ENS({ provider, network })
this.checkName = debounce(this.lookupEnsName.bind(this), 200)
}