From c4f51ec2c1d5545a2ce3f899ca432ac01107ed68 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 12 Jul 2022 13:14:39 -0700 Subject: [PATCH] Guard against followers being unset --- web/components/ui/Followers/FollowersCollection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/ui/Followers/FollowersCollection.tsx b/web/components/ui/Followers/FollowersCollection.tsx index 0336474fb..484c5fb9a 100644 --- a/web/components/ui/Followers/FollowersCollection.tsx +++ b/web/components/ui/Followers/FollowersCollection.tsx @@ -37,7 +37,7 @@ export default function FollowerCollection() {
A message explaining how to follow goes here since there are no followers.
); - if (followers.length === 0) { + if (!followers?.length) { return noFollowers; }