1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Cleanup stray logs and lint

This commit is contained in:
sdtsui 2017-08-10 17:49:59 -07:00
parent 2346c9b6b9
commit 9ec8663605
2 changed files with 1 additions and 6 deletions

View File

@ -43,7 +43,6 @@ function mapStateToProps (state) {
accounts,
address,
} = state.metamask
console.log("ADDRESS:", address)
const selected = address || Object.keys(accounts)[0]
return {

View File

@ -27,10 +27,6 @@ class AccountDropdowns extends Component {
return Object.keys(identities).map((key, index) => {
const identity = identities[key]
const isSelected = identity.address === selected
console.log("address", identity.address)
console.log("selected:", selected)
console.log("isSelected:", isSelected)
// debugger;
return h(
DropdownMenuItem,
@ -63,7 +59,7 @@ class AccountDropdowns extends Component {
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis',
}
},
}, identity.name || ''),
h('span', { style: { marginLeft: '20px', fontSize: '24px' } }, isSelected ? h('.check', '✓') : null),
]