Skip to content

Commit

Permalink
Fix: #870 フォロワー数を公開しない設定にしているアカウントからフォローされたときの通知に「0フォロワー」と表示される (#879) (
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode authored Oct 14, 2024
1 parent 9e51a6d commit fde8568
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@ const FollowerCount: React.FC<{ accountId: string }> = ({ accountId }) => {

if (!account) return null;

const isHide = account.other_settings.hide_followers_count;

return (
<ShortNumber value={account.followers_count} renderer={FollowersCounter} />
<ShortNumber
value={account.followers_count}
renderer={FollowersCounter}
isHide={isHide}
/>
);
};

Expand Down

0 comments on commit fde8568

Please sign in to comment.