|
|
|
@ -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) => { |
|
|
|
|