diff options
author | Dan <danjm.com@gmail.com> | 2018-06-05 20:26:36 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-06-05 20:26:36 +0800 |
commit | 49f0df31742ed09d74ab9cc55d74f23152c19f20 (patch) | |
tree | b853d92a33b6e551cd79c64b3ad362a9f80b9fc3 /ui/app/components/selected-account/selected-account.container.js | |
parent | 8f0a3b83111a9ccf5d515cebbd33cabe9ab16ba7 (diff) | |
parent | 3b6e96bac918925c4edc674e26dba8cc5feb1324 (diff) | |
download | tangerine-wallet-browser-49f0df31742ed09d74ab9cc55d74f23152c19f20.tar.gz tangerine-wallet-browser-49f0df31742ed09d74ab9cc55d74f23152c19f20.tar.zst tangerine-wallet-browser-49f0df31742ed09d74ab9cc55d74f23152c19f20.zip |
Merge branch 'develop' into handle-import-account-failure-in-ui
Diffstat (limited to 'ui/app/components/selected-account/selected-account.container.js')
-rw-r--r-- | ui/app/components/selected-account/selected-account.container.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/app/components/selected-account/selected-account.container.js b/ui/app/components/selected-account/selected-account.container.js new file mode 100644 index 000000000..f9e061d15 --- /dev/null +++ b/ui/app/components/selected-account/selected-account.container.js @@ -0,0 +1,13 @@ +import { connect } from 'react-redux' +import SelectedAccount from './selected-account.component' + +const selectors = require('../../selectors') + +const mapStateToProps = state => { + return { + selectedAddress: selectors.getSelectedAddress(state), + selectedIdentity: selectors.getSelectedIdentity(state), + } +} + +export default connect(mapStateToProps)(SelectedAccount) |