Fix incorrect follower count displayed. Closes #2854

This commit is contained in:
Gabe Kangas 2023-03-21 17:33:59 -07:00
parent 21c26a7aa5
commit a5e5adfa02
No known key found for this signature in database
GPG key ID: 4345B2060657F330

View file

@ -303,9 +303,7 @@ export default function FediverseFollowers() {
},
);
const followersTabTitle = (
<span>Followers {followers.length > 0 && `(${followers.length})`}</span>
);
const followersTabTitle = <span>Followers {totalCount > 0 && `(${totalCount})`}</span>;
const followersTab = (
<>
<p>The following accounts get notified when you go live or send a post.</p>