diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-22 20:00:41 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-22 20:00:41 +0800 |
commit | beb483ea85ca0df707e81883d612125be1968389 (patch) | |
tree | 9b9a043b2225cb980fa04d0be8a8040147a8b5df /packages/website/ts/components/token_balances.tsx | |
parent | 46b7fecafe283e814e2088373ec857747e4cf314 (diff) | |
parent | 8478dc8d6d05efcdeac6653872f35149f3c9589c (diff) | |
download | dexon-0x-contracts-beb483ea85ca0df707e81883d612125be1968389.tar.gz dexon-0x-contracts-beb483ea85ca0df707e81883d612125be1968389.tar.zst dexon-0x-contracts-beb483ea85ca0df707e81883d612125be1968389.zip |
Merge branch 'development' into addExtraDocs
* development:
Change blockchain prop to not optional
Other style changes
Updated padding and colors
Refactor TokenState type
Fix a bug causing fillOrdersUpTo validation to fail because of some extra orders being passed
Implement initial wallet interface
# Conflicts:
# packages/react-shared/CHANGELOG.md
# packages/website/ts/types.ts
Diffstat (limited to 'packages/website/ts/components/token_balances.tsx')
-rw-r--r-- | packages/website/ts/components/token_balances.tsx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/packages/website/ts/components/token_balances.tsx b/packages/website/ts/components/token_balances.tsx index 186393c4f..b4a710ef4 100644 --- a/packages/website/ts/components/token_balances.tsx +++ b/packages/website/ts/components/token_balances.tsx @@ -37,6 +37,7 @@ import { ScreenWidths, Token, TokenByAddress, + TokenStateByAddress, TokenVisibility, } from 'ts/types'; import { configs } from 'ts/utils/configs'; @@ -61,14 +62,6 @@ const styles: Styles = { }, }; -interface TokenStateByAddress { - [address: string]: { - balance: BigNumber; - allowance: BigNumber; - isLoaded: boolean; - }; -} - interface TokenBalancesProps { blockchain: Blockchain; blockchainErr: BlockchainErrs; |