mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-02-19 15:27:16 -05:00
Move pics above compat prompts
This commit is contained in:
@@ -35,6 +35,8 @@ export default function ProfileCarousel(props: {
|
||||
// refreshProfile()
|
||||
// }
|
||||
|
||||
if (photoNums == 0 && !profile.pinned_url) return
|
||||
|
||||
if (!currentUser && profile.visibility !== 'public') {
|
||||
return (
|
||||
<Carousel>
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user