Guard against followers being unset

This commit is contained in:
Gabe Kangas 2022-07-12 13:14:39 -07:00
parent 5d297ae90d
commit c4f51ec2c1
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

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