Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Remove duplicate API call + explicitly set loading state
Gabe Kangasce4c29c4e730
diff --git a/web/components/ui/followers/FollowerCollection/FollowerCollection.tsx b/web/components/ui/followers/FollowerCollection/FollowerCollection.tsxindex 2945a1fb8a..d2bd9ccee6 100644--- a/web/components/ui/followers/FollowerCollection/FollowerCollection.tsx+++ b/web/components/ui/followers/FollowerCollection/FollowerCollection.tsx@@ -29,23 +29,16 @@ export const FollowerCollection: FC<FollowerCollectionProps> = ({ name, onFollowsetFollowers(results);setTotal(totalResults);+ setLoading(false);} catch (error) {console.error(error);}};- useEffect(() => {- getFollowers();- }, []);-useEffect(() => {getFollowers();}, [page]);- useEffect(() => {- setLoading(false);- }, [followers]);-const noFollowers = (<div className={styles.noFollowers} id="followers-collection"><h2>Be the first follower!</h2>