aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/ens-input.js
diff options
context:
space:
mode:
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)
}