diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-05-27 06:00:37 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-05-27 06:00:37 +0800 |
commit | 01e5bc25a9e03ab2d9c72dad29b5d7fa03933009 (patch) | |
tree | 3ef4c7eefadc296203ba34f653d3a19aced1a255 /ui/app | |
parent | 5001547386deff98b0b96a3d2a45c0d7ec822362 (diff) | |
download | tangerine-wallet-browser-01e5bc25a9e03ab2d9c72dad29b5d7fa03933009.tar tangerine-wallet-browser-01e5bc25a9e03ab2d9c72dad29b5d7fa03933009.tar.gz tangerine-wallet-browser-01e5bc25a9e03ab2d9c72dad29b5d7fa03933009.tar.bz2 tangerine-wallet-browser-01e5bc25a9e03ab2d9c72dad29b5d7fa03933009.tar.lz tangerine-wallet-browser-01e5bc25a9e03ab2d9c72dad29b5d7fa03933009.tar.xz tangerine-wallet-browser-01e5bc25a9e03ab2d9c72dad29b5d7fa03933009.tar.zst tangerine-wallet-browser-01e5bc25a9e03ab2d9c72dad29b5d7fa03933009.zip |
Fix build error
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/transaction-list-item.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js index beff93272..fc1c3c630 100644 --- a/ui/app/components/transaction-list-item.js +++ b/ui/app/components/transaction-list-item.js @@ -24,11 +24,8 @@ TransactionListItem.prototype.render = function() { var date = formatDate(transaction.time) let isLinkable = false - try { - const numericNet = parseInt(network) - isLinkable = numericNet === 1 || numericNet === 2 - } - catch() {} + const numericNet = parseInt(network) + isLinkable = numericNet === 1 || numericNet === 2 var isMsg = ('msgParams' in transaction) var isTx = ('txParams' in transaction) |