Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix followers request

Gabe Kangas72302f66ce6c
diff --git a/web/components/ui/followers/FollowerCollection/FollowerCollection.tsx b/web/components/ui/followers/FollowerCollection/FollowerCollection.tsx
index 3622bf5eb0..034ee39fc6 100644
--- a/web/components/ui/followers/FollowerCollection/FollowerCollection.tsx
+++ b/web/components/ui/followers/FollowerCollection/FollowerCollection.tsx
@@ -17,9 +17,10 @@ export const FollowerCollection: FC = () => {
try {
const response = await fetch(`${ENDPOINT}?page=${page}`);
const data = await response.json();
+ const { results, total: totalResults } = data;
- setFollowers(data.response);
- setTotal(data.total);
+ setFollowers(results);
+ setTotal(totalResults);
} catch (error) {
console.error(error);
}