Fix plus icon in Follow button
This commit is contained in:
parent
15483208ee
commit
f80b96c898
|
@ -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