about summary refs log tree commit diff
path: root/src/view/com/feeds
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-02-24 11:50:52 -0800
committerGitHub <noreply@github.com>2025-02-24 11:50:52 -0800
commitf9392d4a9688c1ea1bff962c857ff4ae543e46fe (patch)
treed84b3adc155c03e7519c0277a0e6a32366a76ea6 /src/view/com/feeds
parentbdcddee7a568519073939e434f9e3973497b304c (diff)
downloadvoidsky-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')
-rw-r--r--src/view/com/feeds/ProfileFeedgens.tsx2
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])