[Glitch] Fix loading indicator inconsistency

Port 3cecf3e5b9 to glitch-soc
This commit is contained in:
Thibaut Girka
2018-11-10 18:01:39 +01:00
committed by ThibG
parent 5ebbaffaa3
commit c78c80f807
5 changed files with 27 additions and 15 deletions

View File

@@ -19,6 +19,7 @@ export function fetchCustomEmojis() {
export function fetchCustomEmojisRequest() {
return {
type: CUSTOM_EMOJIS_FETCH_REQUEST,
skipLoading: true,
};
};
@@ -26,6 +27,7 @@ export function fetchCustomEmojisSuccess(custom_emojis) {
return {
type: CUSTOM_EMOJIS_FETCH_SUCCESS,
custom_emojis,
skipLoading: true,
};
};
@@ -33,5 +35,6 @@ export function fetchCustomEmojisFail(error) {
return {
type: CUSTOM_EMOJIS_FETCH_FAIL,
error,
skipLoading: true,
};
};