diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-06-01 04:34:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-01 04:34:12 +0800 |
commit | 6fd87568e738c114dbba9be85cf470c11117ec0a (patch) | |
tree | 18115a5876a17885f1f9798f0bfde84af6b3a560 /packages/website/ts/components/token_balances.tsx | |
parent | 484fd68495bf921c57a09b413d978b028f0c80e8 (diff) | |
parent | 00df102c295b833b7e8ec5c34916f256e560de5e (diff) | |
download | dexon-sol-tools-6fd87568e738c114dbba9be85cf470c11117ec0a.tar.gz dexon-sol-tools-6fd87568e738c114dbba9be85cf470c11117ec0a.tar.zst dexon-sol-tools-6fd87568e738c114dbba9be85cf470c11117ec0a.zip |
Merge pull request #643 from 0xProject/feature/website/wallet-loading
Add loading states to wallet and provider display
Diffstat (limited to 'packages/website/ts/components/token_balances.tsx')
-rw-r--r-- | packages/website/ts/components/token_balances.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/components/token_balances.tsx b/packages/website/ts/components/token_balances.tsx index f5a51dabb..7a0742bbe 100644 --- a/packages/website/ts/components/token_balances.tsx +++ b/packages/website/ts/components/token_balances.tsx @@ -85,6 +85,9 @@ interface TokenBalancesState { } export class TokenBalances extends React.Component<TokenBalancesProps, TokenBalancesState> { + public static defaultProps: Partial<TokenBalancesProps> = { + userEtherBalanceInWei: new BigNumber(0), + }; private _isUnmounted: boolean; public constructor(props: TokenBalancesProps) { super(props); |