From 9f317de5b6e309e9bcd8a4d653a0606b7bcef043 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 26 May 2020 14:14:09 -0400 Subject: [PATCH] increase paid content to 4 rows for users with more than 6 followed channels --- ui/util/homepage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/util/homepage.js b/ui/util/homepage.js index eb233f444..31da22868 100644 --- a/ui/util/homepage.js +++ b/ui/util/homepage.js @@ -142,7 +142,7 @@ export default function getHomePageRowData( .startOf('week') .unix() )}`, - pageSize: subscribedChannels.length > 3 ? 8 : 4, + pageSize: subscribedChannels.length > 3 ? (subscribedChannels.length > 6 ? 16 : 8) : 4, channelIds: subscribedChannels.map((subscription: Subscription) => { const { channelClaimId } = parseURI(subscription.uri); return channelClaimId;