Skip to content

Commit

Permalink
wip: Disable followers
Browse files Browse the repository at this point in the history
  • Loading branch information
carina-akaia committed Jun 27, 2024
1 parent de0ed16 commit f84ac74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/modules/profile/components/FollowStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ const FollowStats = ({
onFollowingClick,
}: Props) => {
const [following, setFollowing] = useState(0);
const [followers, setFollowers] = useState(0);
const [followers] = useState(0);

useEffect(() => {
const fetchSocialData = async () => {
const _following = await getFollowing({ accountId });
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) {
Expand Down

0 comments on commit f84ac74

Please sign in to comment.