From 8c2ffd5a0ba261bd6dc02c0ff125d914355a7a05 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 11 Jul 2022 21:06:57 -0700 Subject: [PATCH] Pull followers from API. For #1861 --- web/components/ui/Content/Content.tsx | 7 +-- .../ui/Followers/FollowersCollection.tsx | 43 +++++++++++++++---- 2 files changed, 36 insertions(+), 14 deletions(-) diff --git a/web/components/ui/Content/Content.tsx b/web/components/ui/Content/Content.tsx index 1f6dd359d..a2612fcf9 100644 --- a/web/components/ui/Content/Content.tsx +++ b/web/components/ui/Content/Content.tsx @@ -27,7 +27,6 @@ import { ChatMessage } from '../../../interfaces/chat-message.model'; // import ChatTextField from '../../chat/ChatTextField/ChatTextField'; import ActionButtonRow from '../../action-buttons/ActionButtonRow'; import ActionButton from '../../action-buttons/ActionButton'; -import { Follower } from '../../../interfaces/follower'; import NotifyReminderPopup from '../NotifyReminderPopup/NotifyReminderPopup'; import OfflineBanner from '../OfflineBanner/OfflineBanner'; import { AppStateOptions } from '../../stores/application-state'; @@ -54,10 +53,6 @@ export default function ContentComponent() { const [showNotifyReminder, setShowNotifyReminder] = useState(false); const [showNotifyPopup, setShowNotifyPopup] = useState(false); - const followers: Follower[] = []; - - const total = 0; - // This is example content. It should be removed. const externalActions = [ { @@ -172,7 +167,7 @@ export default function ContentComponent() { - + {!isMobile &&