From 889c949c38ac41fca19ced4a1e42e53b291c00d9 Mon Sep 17 00:00:00 2001 From: 0xthrpw <0xthrpw@gmail.com> Date: Mon, 16 Mar 2026 10:01:00 -0400 Subject: [PATCH] logged out following states --- src/app/leaderboard/hooks/useLeaderboard.ts | 2 +- src/hooks/use-button-state-batch-query.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/leaderboard/hooks/useLeaderboard.ts b/src/app/leaderboard/hooks/useLeaderboard.ts index bc2fc60e..09d275f8 100644 --- a/src/app/leaderboard/hooks/useLeaderboard.ts +++ b/src/app/leaderboard/hooks/useLeaderboard.ts @@ -163,7 +163,7 @@ const useLeaderboard = () => { state: followState, isLoading: followState ? isRefetchingFollowStates - : isFollowStatesLoading || isFetchingNextFollowStatesPage || isRefetchingFollowStates, + : isFollowStatesLoading || isFetchingNextFollowStatesPage, }, } }) diff --git a/src/hooks/use-button-state-batch-query.ts b/src/hooks/use-button-state-batch-query.ts index a9aa8295..f5e16d67 100644 --- a/src/hooks/use-button-state-batch-query.ts +++ b/src/hooks/use-button-state-batch-query.ts @@ -110,7 +110,7 @@ export const useBatchButtonStateQuery = ({ const profilesWithFollowStates = useMemo(() => { return profiles.map((profile, index) => { const followState = followStatesMap.get(profile.address.toLowerCase()) as FollowStateResponse - const isLoading = followState ? isRefetchingFollowStates : true + const isLoading = followState ? isRefetchingFollowStates : (isFollowStatesLoading || isFetchingNextFollowStatesPage) return { ...profile,