Merge branch 'follow-icon' into 'main'

Fix plus icon in Follow button

See merge request soapbox-pub/soapbox!3247
This commit is contained in:
Alex Gleason 2024-11-13 22:06:28 +00:00
commit eb5dd57439
1 changed files with 3 additions and 3 deletions

View File

@ -226,10 +226,10 @@ const ActionButton: React.FC<IActionButton> = ({ account, actionType, small }) =
let icon: string | undefined; let icon: string | undefined;
if (isFollowing) { if (blockedBy) {
icon = plusIcon;
} else if (blockedBy) {
icon = banIcon; icon = banIcon;
} else if (!isFollowing) {
icon = plusIcon;
} }
return ( return (