about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCaidan Williams <caidan@internet.dev>2025-08-20 11:23:19 -0700
committerCaidan Williams <caidan@internet.dev>2025-08-21 12:29:08 -0700
commitb1ad229771103f9721e26a0a71b3890ec9d874d6 (patch)
treeb59d831bb3eac4a8baf678ac324d6960bd925fa8 /src
parenteabcd9150d3513988f5b3c47b95a601d5f1bf738 (diff)
downloadvoidsky-b1ad229771103f9721e26a0a71b3890ec9d874d6.tar.zst
fix: show 'Follow back' label if user is followed by profile
Updated ProfileCard.FollowButton label to display 'Follow back' when the
current user is followed by the profile being viewed.
Diffstat (limited to 'src')
-rw-r--r--src/components/ProfileCard.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ProfileCard.tsx b/src/components/ProfileCard.tsx
index 5c99474a2..d3a2b8f1f 100644
--- a/src/components/ProfileCard.tsx
+++ b/src/components/ProfileCard.tsx
@@ -515,7 +515,7 @@ export function FollowButtonInner({
   )
   const followLabel = _(
     msg({
-      message: 'Follow',
+      message: profile.viewer?.followedBy ? 'Follow back' : 'Follow',
       comment: 'User is not following this account, click to follow',
     }),
   )