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…
Reference in New Issue