diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-19 02:34:07 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-19 02:34:07 +0800 |
commit | 162a3827c7ba418ce8180d81c54ad09d9b9560b8 (patch) | |
tree | 64d0547165cbed1af2df5eec1d856c6c1847448d /ui/app/components | |
parent | 6c5865d564167c1097d6010e47d1e82a75087fd1 (diff) | |
download | dexon-wallet-162a3827c7ba418ce8180d81c54ad09d9b9560b8.tar.gz dexon-wallet-162a3827c7ba418ce8180d81c54ad09d9b9560b8.tar.zst dexon-wallet-162a3827c7ba418ce8180d81c54ad09d9b9560b8.zip |
Fix Merge Problems; update yarn lock
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/dropdowns/components/account-dropdowns.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/app/components/dropdowns/components/account-dropdowns.js b/ui/app/components/dropdowns/components/account-dropdowns.js index fe80af8b..e2d3d6d6 100644 --- a/ui/app/components/dropdowns/components/account-dropdowns.js +++ b/ui/app/components/dropdowns/components/account-dropdowns.js @@ -453,5 +453,11 @@ const mapDispatchToProps = (dispatch) => { } } -module.exports = connect(null, mapDispatchToProps)(AccountDropdowns) +function mapStateToProps (state) { + return { + keyrings: state.metamask.keyrings, + } +} + +module.exports = connect(mapStateToProps, mapDispatchToProps)(AccountDropdowns) |