From f84ac74ef7f9616013a61a5b918427756787caea Mon Sep 17 00:00:00 2001 From: "Carina.Akaia.io" Date: Thu, 27 Jun 2024 23:39:20 +0400 Subject: [PATCH] wip: Disable followers --- src/modules/profile/components/FollowStats.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/profile/components/FollowStats.tsx b/src/modules/profile/components/FollowStats.tsx index f6f25712..83ec146c 100644 --- a/src/modules/profile/components/FollowStats.tsx +++ b/src/modules/profile/components/FollowStats.tsx @@ -16,7 +16,7 @@ const FollowStats = ({ onFollowingClick, }: Props) => { const [following, setFollowing] = useState(0); - const [followers, setFollowers] = useState(0); + const [followers] = useState(0); useEffect(() => { const fetchSocialData = async () => { @@ -24,9 +24,9 @@ const FollowStats = ({ setFollowing(_following.total); console.log(_following); - const _followers = await getFollowers({ accountId }); - setFollowers(_followers.total); - console.log(_followers); + // const _followers = await getFollowers({ accountId }); + // setFollowers(_followers.total); + // console.log(_followers); }; if (accountId) {