diff options
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 fe80af8b3..e2d3d6d64 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) |