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

accounts - rename account list item so it doesnt overlap

This commit is contained in:
kumavis 2016-06-23 16:18:47 -07:00
parent 7eb89613cc
commit e96a53385f
2 changed files with 3 additions and 2 deletions

View File

@ -33,6 +33,7 @@ NewComponent.prototype.render = function () {
this.pendingOrNot(), this.pendingOrNot(),
h(Identicon, { h(Identicon, {
address: identity.address, address: identity.address,
imageify: true,
}), }),
]), ]),

View File

@ -5,7 +5,7 @@ const connect = require('react-redux').connect
const actions = require('../actions') const actions = require('../actions')
const valuesFor = require('../util').valuesFor const valuesFor = require('../util').valuesFor
const findDOMNode = require('react-dom').findDOMNode const findDOMNode = require('react-dom').findDOMNode
const AccountPanel = require('./account-panel') const AccountListItem = require('./account-list-item')
module.exports = connect(mapStateToProps)(AccountsScreen) module.exports = connect(mapStateToProps)(AccountsScreen)
@ -74,7 +74,7 @@ AccountsScreen.prototype.render = function () {
} }
}) })
return h(AccountPanel, { return h(AccountListItem, {
key: `acct-panel-${identity.address}`, key: `acct-panel-${identity.address}`,
identity, identity,
selectedAddress: this.props.selectedAddress, selectedAddress: this.props.selectedAddress,