Skip to content

Commit

Permalink
Merge pull request #360 from Aymanhki/ayman
Browse files Browse the repository at this point in the history
Bug fix for feed scrolling
  • Loading branch information
Aymanhki authored Mar 30, 2024
2 parents b0babcf + 6aea0a2 commit 80191e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epoch_frontend/src/modules/Feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export default function Feed({
}

setRefreshFeed(false);
}, [offset, feedPosts, posts, isInHashtags, hashtag, currentUser, isInFavorites, feedUserId, isInProfile, feedUsername, onNewBottomPosts, onNewTopPosts, setRefreshFeed]);
}, [offset, feedPosts, posts, isInHashtags, hashtag, currentUser, isInFavorites, feedUserId, isInProfile, feedUsername, onNewBottomPosts, setRefreshFeed]);

useEffect(() => {
if (inView && !noMorePosts && !isLoading) {
Expand Down

0 comments on commit 80191e6

Please sign in to comment.