diff --git a/src/logic/tokens/utils/tokensStorage.js b/src/logic/tokens/utils/tokensStorage.js index 0af8417a..b2b4a3b0 100644 --- a/src/logic/tokens/utils/tokensStorage.js +++ b/src/logic/tokens/utils/tokensStorage.js @@ -19,10 +19,10 @@ export const saveActiveTokens = async (tokens: Map) => { } } -export const getActiveTokens = async (): Promise> => { +export const getActiveTokens = async (): Promise> => { const data = await loadFromStorage(ACTIVE_TOKENS_KEY) - return data || Map({}) + return data || {} } export const getCustomTokens = async (): Promise> => { diff --git a/src/routes/safe/store/actions/fetchSafe.js b/src/routes/safe/store/actions/fetchSafe.js index 17ef2f3a..ffb800a0 100644 --- a/src/routes/safe/store/actions/fetchSafe.js +++ b/src/routes/safe/store/actions/fetchSafe.js @@ -10,8 +10,6 @@ import { getGnosisSafeContract } from '~/logic/contracts/safeContracts' import { getWeb3, getBalanceInEtherOf } from '~/logic/wallets/getWeb3' import updateSafe from '~/routes/safe/store/actions/updateSafe' -// eslint-disable-next-line -// eslint-disable-next-line const buildOwnersFrom = ( safeOwners: string[], storedOwners: Map, // eslint-disable-next-line