diff options
author | Caidan Williams <caidan@internet.dev> | 2025-08-20 11:23:19 -0700 |
---|---|---|
committer | Caidan Williams <caidan@internet.dev> | 2025-08-21 12:29:08 -0700 |
commit | b1ad229771103f9721e26a0a71b3890ec9d874d6 (patch) | |
tree | b59d831bb3eac4a8baf678ac324d6960bd925fa8 | |
parent | eabcd9150d3513988f5b3c47b95a601d5f1bf738 (diff) | |
download | voidsky-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.
-rw-r--r-- | src/components/ProfileCard.tsx | 2 |
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', }), ) |