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
This commit is contained in:
Samuel Newman
2025-02-24 11:50:52 -08:00
committed by GitHub
parent bdcddee7a5
commit f9392d4a96
5 changed files with 42 additions and 50 deletions
+1 -1
View File
@@ -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])