mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-27 01:50:44 +00:00
fix loading active tokens error
This commit is contained in:
parent
8f9eadb6c3
commit
1c95804b54
@ -19,10 +19,10 @@ export const saveActiveTokens = async (tokens: Map<string, Token>) => {
|
||||
}
|
||||
}
|
||||
|
||||
export const getActiveTokens = async (): Promise<Map<string, TokenProps>> => {
|
||||
export const getActiveTokens = async (): Promise<Object<string, TokenProps>> => {
|
||||
const data = await loadFromStorage(ACTIVE_TOKENS_KEY)
|
||||
|
||||
return data || Map({})
|
||||
return data || {}
|
||||
}
|
||||
|
||||
export const getCustomTokens = async (): Promise<List<TokenProps>> => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user