Revert "fix recommended follows (#7081)" (#7085)

This reverts commit b83fe995c5.
This commit is contained in:
jessopb 2021-09-13 15:50:28 -04:00 committed by GitHub
parent 1e002ac585
commit 20bd9644e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ function UserChannelFollowIntro(props: Props) {
const { PRIMARY_CONTENT } = homepageData;
let channelIds;
if (PRIMARY_CONTENT && CUSTOM_HOMEPAGE) {
channelIds = PRIMARY_CONTENT.ids;
channelIds = PRIMARY_CONTENT.channelIds;
}
const followingCount = (subscribedChannels && subscribedChannels.length) || 0;
const followingCountIgnoringAutoFollows = (subscribedChannels || []).filter(

View file

@ -31,7 +31,7 @@ function ChannelsFollowingDiscover(props: Props) {
const { PRIMARY_CONTENT } = homepageData;
let channelIds;
if (PRIMARY_CONTENT && CUSTOM_HOMEPAGE) {
channelIds = PRIMARY_CONTENT.ids;
channelIds = PRIMARY_CONTENT.channelIds;
}
let rowData: Array<ChannelsFollowingItem> = [];
const notChannels = subscribedChannels