diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-02-24 11:50:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-24 11:50:52 -0800 |
commit | f9392d4a9688c1ea1bff962c857ff4ae543e46fe (patch) | |
tree | d84b3adc155c03e7519c0277a0e6a32366a76ea6 /src/view/com/feeds/ProfileFeedgens.tsx | |
parent | bdcddee7a568519073939e434f9e3973497b304c (diff) | |
download | voidsky-f9392d4a9688c1ea1bff962c857ff4ae543e46fe.tar.zst |
Fix optimistic rendering of profile page (#7830)
* don't hold up rendering on starter packs * add tab based on profile.associated * move query into component, fix pending states
Diffstat (limited to 'src/view/com/feeds/ProfileFeedgens.tsx')
-rw-r--r-- | src/view/com/feeds/ProfileFeedgens.tsx | 2 |
1 files changed, 1 insertions, 1 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]) |