aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorSantiago Gonzalez Toral <hernangt12re3@gmail.com>2018-10-03 23:35:07 +0800
committerDan Finlay <542863+danfinlay@users.noreply.github.com>2018-10-10 10:43:41 +0800
commitfd14d3f0904856e2596d7fbe84cb64069da34373 (patch)
tree903ae5099a9f6aa33426b7662dc6bcc3f6523e74 /ui
parentf88373237bebbaf286cab9085871166307ae9ab1 (diff)
downloadtangerine-wallet-browser-fd14d3f0904856e2596d7fbe84cb64069da34373.tar
tangerine-wallet-browser-fd14d3f0904856e2596d7fbe84cb64069da34373.tar.gz
tangerine-wallet-browser-fd14d3f0904856e2596d7fbe84cb64069da34373.tar.bz2
tangerine-wallet-browser-fd14d3f0904856e2596d7fbe84cb64069da34373.tar.lz
tangerine-wallet-browser-fd14d3f0904856e2596d7fbe84cb64069da34373.tar.xz
tangerine-wallet-browser-fd14d3f0904856e2596d7fbe84cb64069da34373.tar.zst
tangerine-wallet-browser-fd14d3f0904856e2596d7fbe84cb64069da34373.zip
Fixed lint errors
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/dropdowns/account-details-dropdown.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/ui/app/components/dropdowns/account-details-dropdown.js b/ui/app/components/dropdowns/account-details-dropdown.js
index 1f82ca735..7476cfdd9 100644
--- a/ui/app/components/dropdowns/account-details-dropdown.js
+++ b/ui/app/components/dropdowns/account-details-dropdown.js
@@ -49,15 +49,15 @@ AccountDetailsDropdown.prototype.onClose = function (e) {
}
AccountDetailsDropdown.prototype.render = function () {
- const {
- selectedIdentity,
+ const {
+ selectedIdentity,
network,
keyrings,
- showAccountDetailModal,
+ showAccountDetailModal,
viewOnEtherscan,
showRemoveAccountConfirmationModal } = this.props
-
- const { name, address } = selectedIdentity
+
+ const address = selectedIdentity.address
const keyring = keyrings.find((kr) => {
return kr.accounts.includes(address)
@@ -76,7 +76,7 @@ AccountDetailsDropdown.prototype.render = function () {
this.props.onClose()
},
text: this.context.t('expandView'),
- icon: h(`img`, { src: "images/expand.svg", style: { height: '15px' } }),
+ icon: h(`img`, { src: 'images/expand.svg', style: { height: '15px' } }),
}),
h(Item, {
onClick: (e) => {
@@ -85,7 +85,7 @@ AccountDetailsDropdown.prototype.render = function () {
this.props.onClose()
},
text: this.context.t('accountDetails'),
- icon: h(`img`, { src: "images/info.svg", style: { height: '15px' } }),
+ icon: h(`img`, { src: 'images/info.svg', style: { height: '15px' } }),
}),
h(Item, {
onClick: (e) => {
@@ -94,7 +94,7 @@ AccountDetailsDropdown.prototype.render = function () {
this.props.onClose()
},
text: this.context.t('viewOnEtherscan'),
- icon: h(`img`, { src: "images/open-etherscan.svg", style: { height: '15px' } }),
+ icon: h(`img`, { src: 'images/open-etherscan.svg', style: { height: '15px' } }),
}),
isRemovable ? h(Item, {
onClick: (e) => {
@@ -103,7 +103,7 @@ AccountDetailsDropdown.prototype.render = function () {
this.props.onClose()
},
text: this.context.t('removeAccount'),
- icon: h(`img`, { src: "images/hide.svg", style: { height: '15px' } }),
- }):null,
+ icon: h(`img`, { src: 'images/hide.svg', style: { height: '15px' } }),
+ }) : null,
])
-} \ No newline at end of file
+}