aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-07-01 01:21:47 +0800
committerDan Finlay <dan@danfinlay.com>2017-07-01 01:26:45 +0800
commit8abd592034649ee0ad47eaaa33859b99d206df1f (patch)
treeb7a6790750c53f61aaf6fdd0929783f682d613e8 /ui
parentc9dd8a9cfd3d7ccc5f4957db5cf3a7161d8e903e (diff)
downloadtangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar
tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar.gz
tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar.bz2
tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar.lz
tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar.xz
tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.tar.zst
tangerine-wallet-browser-8abd592034649ee0ad47eaaa33859b99d206df1f.zip
Stop loading popular tokens by default
Improves performance when loading the token tab.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/token-list.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/components/token-list.js b/ui/app/components/token-list.js
index bf352dc11..fed7e9f7a 100644
--- a/ui/app/components/token-list.js
+++ b/ui/app/components/token-list.js
@@ -3,10 +3,11 @@ const h = require('react-hyperscript')
const inherits = require('util').inherits
const TokenTracker = require('eth-token-tracker')
const TokenCell = require('./token-cell.js')
-const contracts = require('eth-contract-metadata')
const normalizeAddress = require('eth-sig-util').normalize
const defaultTokens = []
+/*
+const contracts = require('eth-contract-metadata')
for (const address in contracts) {
const contract = contracts[address]
if (contract.erc20) {
@@ -14,6 +15,7 @@ for (const address in contracts) {
defaultTokens.push(contract)
}
}
+*/
module.exports = TokenList