diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-03-22 03:57:16 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-03-22 04:02:44 +0800 |
commit | 4e5cd472c2b784ca2314eea76b1a106fd04ef0ad (patch) | |
tree | 8a46e656ee6598461ce4b7f5e156b02a51a83148 /packages/website/ts/components/token_balances.tsx | |
parent | 3cf2cb89bbec6a2cffd59aafdcb6d45aa55269d1 (diff) | |
download | dexon-sol-tools-4e5cd472c2b784ca2314eea76b1a106fd04ef0ad.tar.gz dexon-sol-tools-4e5cd472c2b784ca2314eea76b1a106fd04ef0ad.tar.zst dexon-sol-tools-4e5cd472c2b784ca2314eea76b1a106fd04ef0ad.zip |
Refactor TokenState type
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; |