Fallback to ethplorer link

feature/default_network_editable
Dan Finlay 7 years ago
parent 3b6ee032f5
commit 9fbdeab3de
  1. 19
      ui/app/components/token-list.js

@ -27,7 +27,24 @@ TokenList.prototype.render = function () {
if (error) {
log.error(error)
return this.message('There was a problem loading your token balances.')
return h('.hotFix', {
style: {
padding: '80px',
},
}, [
'We had trouble loading your token balances. You can view them ',
h('span.hotFix', {
style: {
color: 'rgba(247, 134, 28, 1)',
cursor: 'pointer',
},
onClick: () => {
global.platform.openWindow({
url: `https://ethplorer.io/address/${userAddress}`,
})
},
}, 'here'),
])
}
const tokenViews = tokens.map((tokenData) => {

Loading…
Cancel
Save