From 9ec86636050c6d642ff5fa9bf3413d17ccba1a24 Mon Sep 17 00:00:00 2001 From: sdtsui Date: Thu, 10 Aug 2017 17:49:59 -0700 Subject: [PATCH] Cleanup stray logs and lint --- ui/app/app.js | 1 - ui/app/components/account-dropdowns.js | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ui/app/app.js b/ui/app/app.js index 60d36772a..1f3d5b0f8 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -43,7 +43,6 @@ function mapStateToProps (state) { accounts, address, } = state.metamask - console.log("ADDRESS:", address) const selected = address || Object.keys(accounts)[0] return { diff --git a/ui/app/components/account-dropdowns.js b/ui/app/components/account-dropdowns.js index bd60db51e..7c24e70bd 100644 --- a/ui/app/components/account-dropdowns.js +++ b/ui/app/components/account-dropdowns.js @@ -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), ]