Skip to content

Commit 9fbdeab

Browse files
committed
Fallback to ethplorer link
1 parent 3b6ee03 commit 9fbdeab

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

ui/app/components/token-list.js

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,24 @@ TokenList.prototype.render = function () {
2727

2828
if (error) {
2929
log.error(error)
30-
return this.message('There was a problem loading your token balances.')
30+
return h('.hotFix', {
31+
style: {
32+
padding: '80px',
33+
},
34+
}, [
35+
'We had trouble loading your token balances. You can view them ',
36+
h('span.hotFix', {
37+
style: {
38+
color: 'rgba(247, 134, 28, 1)',
39+
cursor: 'pointer',
40+
},
41+
onClick: () => {
42+
global.platform.openWindow({
43+
url: `https://ethplorer.io/address/${userAddress}`,
44+
})
45+
},
46+
}, 'here'),
47+
])
3148
}
3249

3350
const tokenViews = tokens.map((tokenData) => {

0 commit comments

Comments
 (0)