Move pics above compat prompts

This commit is contained in:
MartinBraquet
2026-02-13 15:46:26 +01:00
parent 7734b689a3
commit cd434e2fb5
2 changed files with 3 additions and 1 deletions

View File

@@ -35,6 +35,8 @@ export default function ProfileCarousel(props: {
// refreshProfile()
// }
if (photoNums == 0 && !profile.pinned_url) return
if (!currentUser && profile.visibility !== 'public') {
return (
<Carousel>

View File

@@ -176,6 +176,7 @@ function ProfileContent(props: {
refreshProfile={refreshProfile}
fromProfilePage={fromProfilePage}
/>
{isProfileVisible && <ProfileCarousel profile={profile} refreshProfile={refreshProfile}/>}
<ProfileAnswers
isCurrentUser={isCurrentUser}
user={user}
@@ -183,7 +184,6 @@ function ProfileContent(props: {
fromProfilePage={fromProfilePage}
profile={profile}
/>
{isProfileVisible && profile.photo_urls && <ProfileCarousel profile={profile} refreshProfile={refreshProfile}/>}
<ProfileCommentSection
onUser={user}
profile={profile}