diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-08-17 01:28:58 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-08-23 02:08:34 +0800 |
commit | a90c152485b84d6b382218543a6b38918a3ce6cf (patch) | |
tree | 5bef8f28539e56aadc4f171b4dff3e052c927fe2 /ui/app/components | |
parent | babd59a2dc64e15ef2a415e349ef12d5b995e2e7 (diff) | |
download | tangerine-wallet-browser-a90c152485b84d6b382218543a6b38918a3ce6cf.tar.gz tangerine-wallet-browser-a90c152485b84d6b382218543a6b38918a3ce6cf.tar.zst tangerine-wallet-browser-a90c152485b84d6b382218543a6b38918a3ce6cf.zip |
Update AccountModalContainer to accept a selectedIdentity prop
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/modals/account-modal-container.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/modals/account-modal-container.js b/ui/app/components/modals/account-modal-container.js index a9856b20f..aa0593df8 100644 --- a/ui/app/components/modals/account-modal-container.js +++ b/ui/app/components/modals/account-modal-container.js @@ -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), } } |