diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-22 02:06:53 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-22 02:06:53 +0800 |
commit | 8e2c0bb97758a978f704ad8aea916cbfe43abc16 (patch) | |
tree | d0a49d1e2daf720deea5bbb749a4184518038ee3 /packages/website/ts/components/wallet | |
parent | c34897036e8cf896e6d0b3c7733ed9c739921f74 (diff) | |
parent | 88500e37146dc9152050fdd810f9f3c3cc5faf9f (diff) | |
download | dexon-0x-contracts-8e2c0bb97758a978f704ad8aea916cbfe43abc16.tar.gz dexon-0x-contracts-8e2c0bb97758a978f704ad8aea916cbfe43abc16.tar.zst dexon-0x-contracts-8e2c0bb97758a978f704ad8aea916cbfe43abc16.zip |
Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into feature/website/mobile-friendly-onboarding
Diffstat (limited to 'packages/website/ts/components/wallet')
-rw-r--r-- | packages/website/ts/components/wallet/wallet.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx index a1789c103..f88fd6c24 100644 --- a/packages/website/ts/components/wallet/wallet.tsx +++ b/packages/website/ts/components/wallet/wallet.tsx @@ -322,6 +322,9 @@ export class Wallet extends React.Component<WalletProps, WalletState> { } private _renderTokenRow(token: Token, _index: number): React.ReactNode { const tokenState = this.props.trackedTokenStateByAddress[token.address]; + if (_.isUndefined(tokenState)) { + return null; + } const tokenLink = sharedUtils.getEtherScanLinkIfExists( token.address, this.props.networkId, |