1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #1675 from MetaMask/warning-fixes

React Warning Fixes
This commit is contained in:
Dan Finlay 2017-06-27 15:29:26 -07:00 committed by GitHub
commit ed08e736d7
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,6 @@ EnsInput.prototype.render = function () {
this.checkName() this.checkName()
}, },
}) })
return h('div', { return h('div', {
style: { width: '100%' }, style: { width: '100%' },
}, [ }, [
@ -55,6 +54,7 @@ EnsInput.prototype.render = function () {
return h('option', { return h('option', {
value: identity.address, value: identity.address,
label: identity.name, label: identity.name,
key: identity.address,
}) })
}), }),
// Corresponds to previously sent-to addresses. // Corresponds to previously sent-to addresses.

View File

@ -20,7 +20,7 @@ function mapStateToProps (state) {
CreateVaultCompleteScreen.prototype.render = function () { CreateVaultCompleteScreen.prototype.render = function () {
var state = this.props var state = this.props
var seed = state.seed || state.cachedSeed var seed = state.seed || state.cachedSeed || ''
return ( return (