From c3149107131baecfd4bd4f065ee444a3d9fa37ce Mon Sep 17 00:00:00 2001 From: fernandomg Date: Tue, 14 Jul 2020 13:14:37 -0300 Subject: [PATCH] use `TokenState` in AppReduxState --- src/store/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/store/index.ts b/src/store/index.ts index 81ab74f5..c1a7a1f6 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -17,7 +17,7 @@ import currencyValuesStorageMiddleware from 'src/logic/currencyValues/store/midd import currencyValues, { CURRENCY_VALUES_KEY } from 'src/logic/currencyValues/store/reducer/currencyValues' import currentSession, { CURRENT_SESSION_REDUCER_ID } from 'src/logic/currentSession/store/reducer/currentSession' import notifications, { NOTIFICATIONS_REDUCER_ID } from 'src/logic/notifications/store/reducer/notifications' -import tokens, { TOKEN_REDUCER_ID } from 'src/logic/tokens/store/reducer/tokens' +import tokens, { TOKEN_REDUCER_ID, TokenState } from 'src/logic/tokens/store/reducer/tokens' import providerWatcher from 'src/logic/wallets/store/middlewares/providerWatcher' import provider, { PROVIDER_REDUCER_ID } from 'src/logic/wallets/store/reducer/provider' import notificationsMiddleware from 'src/routes/safe/store/middleware/notificationsMiddleware' @@ -31,7 +31,6 @@ import incomingTransactions, { import safe, { SAFE_REDUCER_ID, SafeReducerMap } from 'src/routes/safe/store/reducer/safe' import transactions, { TRANSACTIONS_REDUCER_ID } from 'src/routes/safe/store/reducer/transactions' import { ProviderRecord } from 'src/logic/wallets/store/model/provider' -import { Token } from 'src/logic/tokens/store/model/token' import { NFTAssets, NFTTokens } from 'src/logic/collectibles/sources/OpenSea' export const history = createHashHistory({ hashType: 'slash' }) @@ -72,7 +71,7 @@ export type AppReduxState = CombinedState<{ [SAFE_REDUCER_ID]: SafeReducerMap [NFT_ASSETS_REDUCER_ID]?: NFTAssets [NFT_TOKENS_REDUCER_ID]?: NFTTokens - [TOKEN_REDUCER_ID]?: Map + [TOKEN_REDUCER_ID]?: TokenState [TRANSACTIONS_REDUCER_ID]: Map [CANCELLATION_TRANSACTIONS_REDUCER_ID]: Map [INCOMING_TRANSACTIONS_REDUCER_ID]: Map