aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-08-17 01:28:58 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-08-23 02:08:34 +0800
commita90c152485b84d6b382218543a6b38918a3ce6cf (patch)
tree5bef8f28539e56aadc4f171b4dff3e052c927fe2 /ui/app/components
parentbabd59a2dc64e15ef2a415e349ef12d5b995e2e7 (diff)
downloadtangerine-wallet-browser-a90c152485b84d6b382218543a6b38918a3ce6cf.tar
tangerine-wallet-browser-a90c152485b84d6b382218543a6b38918a3ce6cf.tar.gz
tangerine-wallet-browser-a90c152485b84d6b382218543a6b38918a3ce6cf.tar.bz2
tangerine-wallet-browser-a90c152485b84d6b382218543a6b38918a3ce6cf.tar.lz
tangerine-wallet-browser-a90c152485b84d6b382218543a6b38918a3ce6cf.tar.xz
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.js4
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),
}
}