diff options
author | Dan Finlay <flyswatter@users.noreply.github.com> | 2017-04-28 05:48:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-28 05:48:13 +0800 |
commit | a90b010de891f7936bc17c09c5fd27c61fc0610d (patch) | |
tree | d907d24ffee4f03d360bad97b5ac99bf83c53e13 /ui/app/components/ens-input.js | |
parent | 72cb49511fa8de8eea4601f6fc09b2df1a5e4753 (diff) | |
parent | 6bdb4c87288a522d9ea2e984bc1f6436d6c7369a (diff) | |
download | tangerine-wallet-browser-a90b010de891f7936bc17c09c5fd27c61fc0610d.tar tangerine-wallet-browser-a90b010de891f7936bc17c09c5fd27c61fc0610d.tar.gz tangerine-wallet-browser-a90b010de891f7936bc17c09c5fd27c61fc0610d.tar.bz2 tangerine-wallet-browser-a90b010de891f7936bc17c09c5fd27c61fc0610d.tar.lz tangerine-wallet-browser-a90b010de891f7936bc17c09c5fd27c61fc0610d.tar.xz tangerine-wallet-browser-a90b010de891f7936bc17c09c5fd27c61fc0610d.tar.zst tangerine-wallet-browser-a90b010de891f7936bc17c09c5fd27c61fc0610d.zip |
Merge pull request #1351 from MetaMask/lint
Fix linting warnings
Diffstat (limited to 'ui/app/components/ens-input.js')
-rw-r--r-- | ui/app/components/ens-input.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/ens-input.js b/ui/app/components/ens-input.js index facf29d97..f1cf49998 100644 --- a/ui/app/components/ens-input.js +++ b/ui/app/components/ens-input.js @@ -24,7 +24,7 @@ EnsInput.prototype.render = function () { list: 'addresses', onChange: () => { const network = this.props.network - let resolverAddress = networkResolvers[network] + const resolverAddress = networkResolvers[network] if (!resolverAddress) return const recipient = document.querySelector('input[name="address"]').value @@ -52,7 +52,7 @@ EnsInput.prototype.render = function () { [ // Corresponds to the addresses owned. Object.keys(props.identities).map((key) => { - let identity = props.identities[key] + const identity = props.identities[key] return h('option', { value: identity.address, label: identity.name, @@ -72,7 +72,7 @@ EnsInput.prototype.render = function () { EnsInput.prototype.componentDidMount = function () { const network = this.props.network - let resolverAddress = networkResolvers[network] + const resolverAddress = networkResolvers[network] if (resolverAddress) { const provider = web3.currentProvider |