aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-08-17 03:53:53 +0800
committerDan Finlay <dan@danfinlay.com>2017-08-17 03:55:34 +0800
commit9fbdeab3deeb12999b14acfb9f8d6dd28b979c10 (patch)
tree485d7996dc5412c45589c352c86ad834d02dd523
parent3b6ee032f58de18c80f66833c54e4f9795ffbced (diff)
downloadtangerine-wallet-browser-9fbdeab3deeb12999b14acfb9f8d6dd28b979c10.tar
tangerine-wallet-browser-9fbdeab3deeb12999b14acfb9f8d6dd28b979c10.tar.gz
tangerine-wallet-browser-9fbdeab3deeb12999b14acfb9f8d6dd28b979c10.tar.bz2
tangerine-wallet-browser-9fbdeab3deeb12999b14acfb9f8d6dd28b979c10.tar.lz
tangerine-wallet-browser-9fbdeab3deeb12999b14acfb9f8d6dd28b979c10.tar.xz
tangerine-wallet-browser-9fbdeab3deeb12999b14acfb9f8d6dd28b979c10.tar.zst
tangerine-wallet-browser-9fbdeab3deeb12999b14acfb9f8d6dd28b979c10.zip
Fallback to ethplorer link
-rw-r--r--ui/app/components/token-list.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/ui/app/components/token-list.js b/ui/app/components/token-list.js
index 4bcde7d1d..2346568bc 100644
--- a/ui/app/components/token-list.js
+++ b/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) => {