increase paid content to 4 rows for users with more than 6 followed channels

This commit is contained in:
Sean Yesmunt 2020-05-26 14:14:09 -04:00
parent 59af7729d5
commit 9f317de5b6

View file

@ -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;