Skip to content

Commit 889c949

Browse files
committed
logged out following states
1 parent f940b99 commit 889c949

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/leaderboard/hooks/useLeaderboard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const useLeaderboard = () => {
163163
state: followState,
164164
isLoading: followState
165165
? isRefetchingFollowStates
166-
: isFollowStatesLoading || isFetchingNextFollowStatesPage || isRefetchingFollowStates,
166+
: isFollowStatesLoading || isFetchingNextFollowStatesPage,
167167
},
168168
}
169169
})

src/hooks/use-button-state-batch-query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const useBatchButtonStateQuery = <T extends { address: string }>({
110110
const profilesWithFollowStates = useMemo(() => {
111111
return profiles.map((profile, index) => {
112112
const followState = followStatesMap.get(profile.address.toLowerCase()) as FollowStateResponse
113-
const isLoading = followState ? isRefetchingFollowStates : true
113+
const isLoading = followState ? isRefetchingFollowStates : (isFollowStatesLoading || isFetchingNextFollowStatesPage)
114114

115115
return {
116116
...profile,

0 commit comments

Comments
 (0)