Fix to not show progress when fetch accounts

This commit is contained in:
noellabo 2021-09-18 19:31:20 +09:00
parent a63147aa0b
commit 6b68245fa2
2 changed files with 4 additions and 0 deletions

View file

@ -175,12 +175,14 @@ export function fetchAccountsRequest(accountIds) {
return { return {
type: ACCOUNTS_FETCH_REQUEST, type: ACCOUNTS_FETCH_REQUEST,
accountIds, accountIds,
skipLoading: true,
}; };
}; };
export function fetchAccountsSuccess() { export function fetchAccountsSuccess() {
return { return {
type: ACCOUNTS_FETCH_SUCCESS, type: ACCOUNTS_FETCH_SUCCESS,
skipLoading: true,
}; };
}; };
@ -191,6 +193,7 @@ export function fetchAccountsFail(accountIds, error) {
error, error,
skipAlert: true, skipAlert: true,
skipNotFound: true, skipNotFound: true,
skipLoading: true,
}; };
}; };

View file

@ -821,5 +821,6 @@ export const updateEmojiReaction = emoji_reaction => {
return { return {
type: EMOJI_REACTION_UPDATE, type: EMOJI_REACTION_UPDATE,
emojiReaction: emoji_reaction, emojiReaction: emoji_reaction,
skipLoading: true,
}; };
}; };