Browse Source

Guard against followers being unset

pull/2032/head
Gabe Kangas 4 years ago
parent
commit
c4f51ec2c1
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 2
      web/components/ui/Followers/FollowersCollection.tsx

2
web/components/ui/Followers/FollowersCollection.tsx

@ -37,7 +37,7 @@ export default function FollowerCollection() {
<div>A message explaining how to follow goes here since there are no followers.</div> <div>A message explaining how to follow goes here since there are no followers.</div>
); );
if (followers.length === 0) { if (!followers?.length) {
return noFollowers; return noFollowers;
} }

Loading…
Cancel
Save