mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Guard against followers being unset
This commit is contained in:
parent
5d297ae90d
commit
c4f51ec2c1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user