diff --git a/web/components/profile-carousel.tsx b/web/components/profile-carousel.tsx index d6f2ea2..75a249d 100644 --- a/web/components/profile-carousel.tsx +++ b/web/components/profile-carousel.tsx @@ -35,6 +35,8 @@ export default function ProfileCarousel(props: { // refreshProfile() // } + if (photoNums == 0 && !profile.pinned_url) return + if (!currentUser && profile.visibility !== 'public') { return ( diff --git a/web/components/profile/profile-info.tsx b/web/components/profile/profile-info.tsx index d9e0424..d9305a4 100644 --- a/web/components/profile/profile-info.tsx +++ b/web/components/profile/profile-info.tsx @@ -176,6 +176,7 @@ function ProfileContent(props: { refreshProfile={refreshProfile} fromProfilePage={fromProfilePage} /> + {isProfileVisible && } - {isProfileVisible && profile.photo_urls && }