Renaming the Follow button to "Follow back" when followed by user (#5281)

* Renaming the follow button to follow back when followed by user

* Fixing conditions and reusing existing translation
This commit is contained in:
Wesley 2024-09-12 11:59:12 -03:00 committed by GitHub
parent e0d9e75407
commit 86abeb80b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View file

@ -219,6 +219,8 @@ let ProfileHeaderStandard = ({
<ButtonText>
{profile.viewer?.following ? (
<Trans>Following</Trans>
) : profile.viewer?.followedBy ? (
<Trans>Follow Back</Trans>
) : (
<Trans>Follow</Trans>
)}