aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-11 08:49:59 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-11 08:50:33 +0800
commit9ec86636050c6d642ff5fa9bf3413d17ccba1a24 (patch)
tree724d3872e9163d1ac7c22c443bfa43e6268960bb
parent2346c9b6b9322458b350d5afd19501372272f0ec (diff)
downloadtangerine-wallet-browser-9ec86636050c6d642ff5fa9bf3413d17ccba1a24.tar
tangerine-wallet-browser-9ec86636050c6d642ff5fa9bf3413d17ccba1a24.tar.gz
tangerine-wallet-browser-9ec86636050c6d642ff5fa9bf3413d17ccba1a24.tar.bz2
tangerine-wallet-browser-9ec86636050c6d642ff5fa9bf3413d17ccba1a24.tar.lz
tangerine-wallet-browser-9ec86636050c6d642ff5fa9bf3413d17ccba1a24.tar.xz
tangerine-wallet-browser-9ec86636050c6d642ff5fa9bf3413d17ccba1a24.tar.zst
tangerine-wallet-browser-9ec86636050c6d642ff5fa9bf3413d17ccba1a24.zip
Cleanup stray logs and lint
-rw-r--r--ui/app/app.js1
-rw-r--r--ui/app/components/account-dropdowns.js6
2 files changed, 1 insertions, 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),
]