Fix: #870 フォロワー数を公開しない設定にしているアカウントからフォローされたときの通知に「0フォロワー」と表示される (#879) (#881)

This commit is contained in:
KMY(雪あすか) 2024-10-14 10:21:01 +09:00 committed by GitHub
parent 9e51a6d54e
commit fde85684c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}
/>
);
};