diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-07-01 01:21:47 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-07-01 01:26:45 +0800 |
commit | 8abd592034649ee0ad47eaaa33859b99d206df1f (patch) | |
tree | b7a6790750c53f61aaf6fdd0929783f682d613e8 /ui | |
parent | c9dd8a9cfd3d7ccc5f4957db5cf3a7161d8e903e (diff) | |
download | tangerine-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.js | 4 |
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 |