diff options
Fix build error
Diffstat (limited to 'ui/app/components')
-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) |