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;
|
let icon: string | undefined;
|
||||||
|
|
||||||
if (isFollowing) {
|
if (blockedBy) {
|
||||||
icon = plusIcon;
|
|
||||||
} else if (blockedBy) {
|
|
||||||
icon = banIcon;
|
icon = banIcon;
|
||||||
|
} else if (!isFollowing) {
|
||||||
|
icon = plusIcon;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue