Skip to content

Commit

Permalink
remove isNotFirstLoad from dep array
Browse files Browse the repository at this point in the history
  • Loading branch information
kabeaty committed Dec 12, 2024
1 parent af59e56 commit 5705af1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export const AllCommentsTabContainer: FunctionComponent<Props> = ({
if (visible && isNotFirstLoad && live) {
setShowCommentRefreshButton(true);
}
}, [visible, setShowCommentRefreshButton, live, isNotFirstLoad]);
}, [visible, setShowCommentRefreshButton, live]);

useEffect(() => {
if (!topOfCommentsInView && allCommentsInView) {
Expand Down

0 comments on commit 5705af1

Please sign in to comment.