aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-09-16 09:25:05 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-09-16 09:25:05 +0800
commit3682a2a1f91cc788de332df70445bdf76c658173 (patch)
tree9b3f545ad0590c4efe71fe3bbaa6f817629e0866
parentdcda841f4d33f96a5620b2458decd94339d5ee52 (diff)
downloadtangerine-wallet-browser-3682a2a1f91cc788de332df70445bdf76c658173.tar
tangerine-wallet-browser-3682a2a1f91cc788de332df70445bdf76c658173.tar.gz
tangerine-wallet-browser-3682a2a1f91cc788de332df70445bdf76c658173.tar.bz2
tangerine-wallet-browser-3682a2a1f91cc788de332df70445bdf76c658173.tar.lz
tangerine-wallet-browser-3682a2a1f91cc788de332df70445bdf76c658173.tar.xz
tangerine-wallet-browser-3682a2a1f91cc788de332df70445bdf76c658173.tar.zst
tangerine-wallet-browser-3682a2a1f91cc788de332df70445bdf76c658173.zip
linting
-rw-r--r--ui/app/components/transaction-list-item.js43
1 files changed, 22 insertions, 21 deletions
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js
index 3adc07185..8f96e2942 100644
--- a/ui/app/components/transaction-list-item.js
+++ b/ui/app/components/transaction-list-item.js
@@ -53,32 +53,33 @@ TransactionListItem.prototype.render = function () {
h('.identicon-wrapper.flex-column.flex-center.select-none', [
transaction.status === 'unconfirmed' ? h('i.fa.fa-ellipsis-h', {
style: {
- fontSize: '27px'
- }
- }) : h( '.pop-hover', {
- onClick: () => {
- if (!isTx || isPending) return
- var url = `https://metamask.github.io/eth-tx-viz/?tx=${transaction.hash}`
- extension.tabs.create({ url })
- },
- }, [
+ fontSize: '27px',
+ },
+ }) : h( '.pop-hover', {
+ onClick: () => {
+ if (!isTx || isPending) return
+ var url = `https://metamask.github.io/eth-tx-viz/?tx=${transaction.hash}`
+ extension.tabs.create({ url })
+ },
+ }, [
h(TransactionIcon, { txParams, transaction, isTx, isMsg }),
]),
]),
h('.flex-column', {
- onClick: (event) => {
- if (isPending) {
- this.props.showTx(transaction.id)
- }
-
- if (!transaction.hash || !isLinkable) return
- var url = explorerLink(transaction.hash, parseInt(network))
- extension.tabs.create({ url })
- },
- style: {
- width: '200px',
- overflow: 'hidden'}
+ onClick: (event) => {
+ if (isPending) {
+ this.props.showTx(transaction.id)
+ }
+
+ if (!transaction.hash || !isLinkable) return
+ var url = explorerLink(transaction.hash, parseInt(network))
+ extension.tabs.create({ url })
+ },
+ style: {
+ width: '200px',
+ overflow: 'hidden',
+ },
}, [
domainField(txParams),
h('div', date),