diff options
Diffstat (limited to 'packages/website/ts/components/wallet.tsx')
-rw-r--r-- | packages/website/ts/components/wallet.tsx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/packages/website/ts/components/wallet.tsx b/packages/website/ts/components/wallet.tsx index 41c10c57a..4e7d0776e 100644 --- a/packages/website/ts/components/wallet.tsx +++ b/packages/website/ts/components/wallet.tsx @@ -20,7 +20,7 @@ import { AllowanceToggle } from 'ts/components/inputs/allowance_toggle'; import { Identicon } from 'ts/components/ui/identicon'; import { TokenIcon } from 'ts/components/ui/token_icon'; import { Dispatcher } from 'ts/redux/dispatcher'; -import { BalanceErrs, BlockchainErrs, Token, TokenByAddress } from 'ts/types'; +import { BalanceErrs, BlockchainErrs, Token, TokenByAddress, TokenState, TokenStateByAddress } from 'ts/types'; import { constants } from 'ts/utils/constants'; import { utils } from 'ts/utils/utils'; @@ -41,16 +41,6 @@ interface WalletState { trackedTokenStateByAddress: TokenStateByAddress; } -interface TokenStateByAddress { - [address: string]: TokenState; -} - -interface TokenState { - balance: BigNumber; - allowance: BigNumber; - isLoaded: boolean; -} - enum WrappedEtherAction { Wrap, Unwrap, |