precommit hook changes
This commit is contained in:
parent
c62271bcb8
commit
d7fedee8a9
|
@ -10,6 +10,7 @@ import enableToken, { ENABLE_TOKEN } from '~/logic/tokens/store/actions/enableTo
|
|||
import {
|
||||
setActiveTokenAddresses,
|
||||
getActiveTokenAddresses,
|
||||
removeFromActiveTokens,
|
||||
} from '~/logic/tokens/utils/activeTokensStorage'
|
||||
|
||||
export const TOKEN_REDUCER_ID = 'tokens'
|
||||
|
|
|
@ -70,4 +70,4 @@ export const removeFromActiveTokens = (safeAddress: string, tokenAddress: string
|
|||
const activeTokens = getActiveTokenAddresses(safeAddress)
|
||||
const index = activeTokens.indexOf(tokenAddress)
|
||||
setActiveTokenAddresses(safeAddress, activeTokens.delete(index))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,8 +28,6 @@ describe('Safe - redux balance property', () => {
|
|||
const safeBalances: Map<string, Token> | typeof undefined = tokens.get(address)
|
||||
if (!safeBalances) throw new Error('No tokens available, probably failed to fetch')
|
||||
expect(safeBalances.size).toBe(11)
|
||||
|
||||
console.log(safeBalances.entries())
|
||||
|
||||
// safeBalances.forEach((token: string) => {
|
||||
// const record = safeBalances.get(token)
|
||||
|
|
Loading…
Reference in New Issue