aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <flyswatter@users.noreply.github.com>2017-06-28 06:29:26 +0800
committerGitHub <noreply@github.com>2017-06-28 06:29:26 +0800
commited08e736d7e0c8b105d48d584a9d9cee33bfa34f (patch)
tree93b176d9a44fee8678d5d30af446e8b3700645f9
parentf8f01be5ee8fbe040e419a729644320c82fcf1a8 (diff)
parentf925a37a9f79337951a0ffd8a106929b3f75d22b (diff)
downloadtangerine-wallet-browser-ed08e736d7e0c8b105d48d584a9d9cee33bfa34f.tar
tangerine-wallet-browser-ed08e736d7e0c8b105d48d584a9d9cee33bfa34f.tar.gz
tangerine-wallet-browser-ed08e736d7e0c8b105d48d584a9d9cee33bfa34f.tar.bz2
tangerine-wallet-browser-ed08e736d7e0c8b105d48d584a9d9cee33bfa34f.tar.lz
tangerine-wallet-browser-ed08e736d7e0c8b105d48d584a9d9cee33bfa34f.tar.xz
tangerine-wallet-browser-ed08e736d7e0c8b105d48d584a9d9cee33bfa34f.tar.zst
tangerine-wallet-browser-ed08e736d7e0c8b105d48d584a9d9cee33bfa34f.zip
Merge pull request #1675 from MetaMask/warning-fixes
React Warning Fixes
-rw-r--r--ui/app/components/ens-input.js2
-rw-r--r--ui/app/keychains/hd/create-vault-complete.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/ens-input.js b/ui/app/components/ens-input.js
index 16c50db84..3a33ebf74 100644
--- a/ui/app/components/ens-input.js
+++ b/ui/app/components/ens-input.js
@@ -41,7 +41,6 @@ EnsInput.prototype.render = function () {
this.checkName()
},
})
-
return h('div', {
style: { width: '100%' },
}, [
@@ -55,6 +54,7 @@ EnsInput.prototype.render = function () {
return h('option', {
value: identity.address,
label: identity.name,
+ key: identity.address,
})
}),
// Corresponds to previously sent-to addresses.
diff --git a/ui/app/keychains/hd/create-vault-complete.js b/ui/app/keychains/hd/create-vault-complete.js
index 9741155f7..a318a9b50 100644
--- a/ui/app/keychains/hd/create-vault-complete.js
+++ b/ui/app/keychains/hd/create-vault-complete.js
@@ -20,7 +20,7 @@ function mapStateToProps (state) {
CreateVaultCompleteScreen.prototype.render = function () {
var state = this.props
- var seed = state.seed || state.cachedSeed
+ var seed = state.seed || state.cachedSeed || ''
return (