parent
e080fae9ef
commit
c42b2a9e69
1 changed files with 7 additions and 1 deletions
|
@ -37,8 +37,14 @@ const FollowerCount: React.FC<{ accountId: string }> = ({ accountId }) => {
|
||||||
|
|
||||||
if (!account) return null;
|
if (!account) return null;
|
||||||
|
|
||||||
|
const isHide = account.other_settings.hide_followers_count;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ShortNumber value={account.followers_count} renderer={FollowersCounter} />
|
<ShortNumber
|
||||||
|
value={account.followers_count}
|
||||||
|
renderer={FollowersCounter}
|
||||||
|
isHide={isHide}
|
||||||
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue