mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Update AccountModalContainer to accept a selectedIdentity prop
This commit is contained in:
parent
babd59a2dc
commit
a90c152485
@ -7,9 +7,9 @@ const actions = require('../../actions')
|
||||
const { getSelectedIdentity } = require('../../selectors')
|
||||
const Identicon = require('../identicon')
|
||||
|
||||
function mapStateToProps (state) {
|
||||
function mapStateToProps (state, ownProps) {
|
||||
return {
|
||||
selectedIdentity: getSelectedIdentity(state),
|
||||
selectedIdentity: ownProps.selectedIdentity || getSelectedIdentity(state),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user