Skip to content

Commit

Permalink
change forum cards on landing page 4 -> 3
Browse files Browse the repository at this point in the history
  • Loading branch information
vanesssalai authored Jul 13, 2024
1 parent b8849ef commit 19aba15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/landing/LandingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function LandingPage() {
return { ...forum, weeklyClicks, likes, comments };
}));
const sortedForum = sortForumByFeaturedScore(forumData);
setPosts(sortedForum.slice(0, 4));
setPosts(sortedForum.slice(0, 3));
} catch (error) {
console.error(`Firebase fetch error: ${error.message}`);
}
Expand Down Expand Up @@ -162,4 +162,4 @@ function LandingPage() {
);
}

export default LandingPage;
export default LandingPage;

0 comments on commit 19aba15

Please sign in to comment.