diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-06-21 06:25:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-21 06:25:51 +0800 |
commit | 4d36f38f96d65976a0fbaa73709836cc3bb57cc0 (patch) | |
tree | 30468e7bf33998de3285335d606da907630f56b3 /packages/website/ts/components/wallet | |
parent | d31ca444e1d52ab20bcdb12ded6191fc082c29ef (diff) | |
parent | 549c6afa0af15cb19249ce8cdbad92b09ae231f6 (diff) | |
download | dexon-0x-contracts-4d36f38f96d65976a0fbaa73709836cc3bb57cc0.tar dexon-0x-contracts-4d36f38f96d65976a0fbaa73709836cc3bb57cc0.tar.gz dexon-0x-contracts-4d36f38f96d65976a0fbaa73709836cc3bb57cc0.tar.bz2 dexon-0x-contracts-4d36f38f96d65976a0fbaa73709836cc3bb57cc0.tar.lz dexon-0x-contracts-4d36f38f96d65976a0fbaa73709836cc3bb57cc0.tar.xz dexon-0x-contracts-4d36f38f96d65976a0fbaa73709836cc3bb57cc0.tar.zst dexon-0x-contracts-4d36f38f96d65976a0fbaa73709836cc3bb57cc0.zip |
Merge pull request #733 from 0xProject/bug/website/identicon-layout
Move some layout logic out of the Identicon component
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 ac2fe0d31..82fec4e48 100644 --- a/packages/website/ts/components/wallet/wallet.tsx +++ b/packages/website/ts/components/wallet/wallet.tsx @@ -323,6 +323,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, |