diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-11-16 05:33:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 05:33:47 +0800 |
commit | b944a63ff89e3c45f7d7e49b2d93a5442cde4462 (patch) | |
tree | bcd8ce2e0de5aef5edff1267d892cb66410a77c7 /ui/app/components/token-list.js | |
parent | aa538c52a747b4ab0ed6cdf3d7b7acf5a2972f86 (diff) | |
parent | fbd04a6af6e9eda22eebaae27d712ae08272c131 (diff) | |
download | tangerine-wallet-browser-b944a63ff89e3c45f7d7e49b2d93a5442cde4462.tar.gz tangerine-wallet-browser-b944a63ff89e3c45f7d7e49b2d93a5442cde4462.tar.zst tangerine-wallet-browser-b944a63ff89e3c45f7d7e49b2d93a5442cde4462.zip |
Merge pull request #2591 from MetaMask/NewUI-flat
Release 4.0.4
Diffstat (limited to 'ui/app/components/token-list.js')
-rw-r--r-- | ui/app/components/token-list.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/app/components/token-list.js b/ui/app/components/token-list.js index b6a27fd5a..8e06e0f27 100644 --- a/ui/app/components/token-list.js +++ b/ui/app/components/token-list.js @@ -151,10 +151,7 @@ TokenList.prototype.componentDidUpdate = function (nextProps) { } TokenList.prototype.updateBalances = function (tokens) { - const heldTokens = tokens.filter(token => { - return token.balance !== '0' && token.string !== '0.000' - }) - this.setState({ tokens: heldTokens, isLoading: false }) + this.setState({ tokens, isLoading: false }) } TokenList.prototype.componentWillUnmount = function () { |