Skip to content

Commit

Permalink
update TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed Jan 16, 2020
1 parent 890fc36 commit d935cb1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function mapStateToProps (state) {
const selectedAddress = getSelectedAddress(state)

/**
* TODO:LoginPerSite
* TODO:LoginPerSite:ui
* - dispatch background.newAccountSelected() if selectedAddress !== lastSelectedAddress
* - propagate the relevant props below after computing them
*/
Expand Down
6 changes: 0 additions & 6 deletions ui/app/selectors/permissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ import {
CAVEAT_NAMES,
} from '../../../app/scripts/controllers/permissions/enums'

/**
* TODO:LoginPerSite
* There are performance gains here once `domain.permissions` is converted
* to key:value instead of an array. (requires update to rpc-cap)
*/

const permissionsSelector = (state, origin) => {
console.log('permissionsSelector', origin)
return origin && state.metamask.domains && state.metamask.domains[origin]
Expand Down

0 comments on commit d935cb1

Please sign in to comment.