From 0434902b5987dc23f6b1cda5641eb8b46c5f2c88 Mon Sep 17 00:00:00 2001 From: Wing Date: Tue, 13 May 2025 17:17:02 -0700 Subject: [PATCH] if viewing own profile. dont show the follow button, but show a view profile button --- src/app/components/FarcasterFollowButton.tsx | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/app/components/FarcasterFollowButton.tsx b/src/app/components/FarcasterFollowButton.tsx index d6b36d0..3403af0 100644 --- a/src/app/components/FarcasterFollowButton.tsx +++ b/src/app/components/FarcasterFollowButton.tsx @@ -125,12 +125,19 @@ export default function FarcasterFollowButton({ Farcaster - - - {isFollowingUser ? "Following" : "Follow"} - + {fid === currentUserFid ? ( + + View Profile + + ) : ( + + {isFollowingUser ? "Following" : "Follow"} + + )} );