1
0
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:
Szymon Lesisz 2020-03-31 11:46:10 +02:00
parent f6e689b4d7
commit d98c300e77

View File

@ -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,