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/lists/ProfileLists.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/lists/ProfileLists.tsx')
-rw-r--r-- | src/view/com/lists/ProfileLists.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |