feat: update top friends display condition to require more than 8 friends

This commit is contained in:
2025-09-07 15:16:18 +02:00
parent 3d25ffca4f
commit 1a405500ca

View File

@@ -46,7 +46,7 @@ async function FeedPage({ token }: { token: string }) {
);
const friends = (await getFriends(token)).users.map((user) => user.username);
const shouldDisplayTopFriends = me?.topFriends && me.topFriends.length > 0;
const shouldDisplayTopFriends = me?.topFriends && me.topFriends.length > 8;
return (
<div className="container mx-auto max-w-6xl p-4 sm:p-6">