From cd434e2fb5dff538b927fb41210c36625fbd9f78 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Fri, 13 Feb 2026 15:46:26 +0100 Subject: [PATCH] Move pics above compat prompts --- web/components/profile-carousel.tsx | 2 ++ web/components/profile/profile-info.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 && }