Merge branch 'follow-icon' into 'main'
Fix plus icon in Follow button See merge request soapbox-pub/soapbox!3247
This commit is contained in:
commit
eb5dd57439
|
@ -226,10 +226,10 @@ const ActionButton: React.FC<IActionButton> = ({ account, actionType, small }) =
|
|||
|
||||
let icon: string | undefined;
|
||||
|
||||
if (isFollowing) {
|
||||
icon = plusIcon;
|
||||
} else if (blockedBy) {
|
||||
if (blockedBy) {
|
||||
icon = banIcon;
|
||||
} else if (!isFollowing) {
|
||||
icon = plusIcon;
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue