diff options
Diffstat (limited to 'src/view/com')
-rw-r--r-- | src/view/com/feeds/ProfileFeedgens.tsx | 2 | ||||
-rw-r--r-- | src/view/com/lists/ProfileLists.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/feeds/ProfileFeedgens.tsx b/src/view/com/feeds/ProfileFeedgens.tsx index f5894f9ee..b55c6b9bd 100644 --- a/src/view/com/feeds/ProfileFeedgens.tsx +++ b/src/view/com/feeds/ProfileFeedgens.tsx @@ -76,7 +76,7 @@ export const ProfileFeedgens = React.forwardRef< if (isError && isEmpty) { items = items.concat([ERROR_ITEM]) } - if (!isFetched && isFetching) { + if (!isFetched || isFetching) { items = items.concat([LOADING]) } else if (isEmpty) { items = items.concat([EMPTY]) diff --git a/src/view/com/lists/ProfileLists.tsx b/src/view/com/lists/ProfileLists.tsx index d91a4fb66..3a0b0b198 100644 --- a/src/view/com/lists/ProfileLists.tsx +++ b/src/view/com/lists/ProfileLists.tsx @@ -72,7 +72,7 @@ export const ProfileLists = React.forwardRef<SectionRef, ProfileListsProps>( if (isError && isEmpty) { items = items.concat([ERROR_ITEM]) } - if (!isFetched && isFetching) { + if (!isFetched || isFetching) { items = items.concat([LOADING]) } else if (isEmpty) { items = items.concat([EMPTY]) |