mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-14 04:19:09 +00:00
Update TokenActions.js
This commit is contained in:
parent
f6e689b4d7
commit
d98c300e77
@ -103,9 +103,9 @@ export const add = (token: NetworkToken, account: Account): AsyncAction => async
|
||||
dispatch(setBalance(token.address, account.descriptor, tokenBalance));
|
||||
};
|
||||
|
||||
export const createAccountTokens = (account: Account, tokens: TokenInfo[]) => async (
|
||||
export const createAccountTokens = (account: Account, tokens: TokenInfo[]): AsyncAction => async (
|
||||
dispatch: Dispatch
|
||||
) => {
|
||||
): Promise<void> => {
|
||||
tokens.forEach(t => {
|
||||
dispatch({
|
||||
type: TOKEN.ADD,
|
||||
|
Loading…
Reference in New Issue
Block a user