Skip to content

Commit c96d196

Browse files
authored
Merge pull request #291 from WeGo-Together/hwanwook-fix/following-infinityScroll
[Fix] 팔로잉 목록 무한스크롤 수정
2 parents 1202b37 + f236aff commit c96d196

File tree

1 file changed

+1
-1
lines changed
  • src/components/pages/message/message-following-content

1 file changed

+1
-1
lines changed

src/components/pages/message/message-following-content/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const FollowingContent = ({ initialUserId }: FollowingContentProps) => {
5151
fetchNextPage();
5252
}
5353
},
54-
enabled: hasNextPage && error === null,
54+
enabled: hasNextPage && !error && tab === 'following',
5555
threshold: INTERSECTION_OBSERVER_THRESHOLD,
5656
});
5757

0 commit comments

Comments
 (0)