Skip to content

Commit

Permalink
fixup! fixup! show "connected" account in popup
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed Aug 20, 2019
1 parent 8d60f0f commit f56a011
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/scripts/controllers/permissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ class PermissionsController {
* Returns the accounts that should be exposed for the given origin domain,
* if any. This method exists for when a trusted context needs to know
* which accounts are exposed to a given domain.
*
*
* Do not use in untrusted contexts; just send an RPC request.
*
*
* @param {string} origin
*/
getAccounts (origin) {
Expand Down
4 changes: 2 additions & 2 deletions ui/app/components/app/account-menu/account-menu.container.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import AccountMenu from './account-menu.component'

function mapStateToProps (state) {
const { metamask: {
selectedAddress, isAccountMenuOpen, keyrings, identities, isUnlocked
selectedAddress, isAccountMenuOpen, keyrings, identities, isUnlocked,
} } = state

return {
Expand Down Expand Up @@ -60,7 +60,7 @@ function mapDispatchToProps (dispatch) {
},
selectApprovedAccount: origin => {
dispatch(selectApprovedAccount(origin))
}
},
}
}

Expand Down

0 comments on commit f56a011

Please sign in to comment.