fix recommended follows (#7081)
This commit is contained in:
parent
c2e414971d
commit
b83fe995c5
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ function UserChannelFollowIntro(props: Props) {
|
||||||
const { PRIMARY_CONTENT } = homepageData;
|
const { PRIMARY_CONTENT } = homepageData;
|
||||||
let channelIds;
|
let channelIds;
|
||||||
if (PRIMARY_CONTENT && CUSTOM_HOMEPAGE) {
|
if (PRIMARY_CONTENT && CUSTOM_HOMEPAGE) {
|
||||||
channelIds = PRIMARY_CONTENT.channelIds;
|
channelIds = PRIMARY_CONTENT.ids;
|
||||||
}
|
}
|
||||||
const followingCount = (subscribedChannels && subscribedChannels.length) || 0;
|
const followingCount = (subscribedChannels && subscribedChannels.length) || 0;
|
||||||
const followingCountIgnoringAutoFollows = (subscribedChannels || []).filter(
|
const followingCountIgnoringAutoFollows = (subscribedChannels || []).filter(
|
||||||
|
|
|
@ -31,7 +31,7 @@ function ChannelsFollowingDiscover(props: Props) {
|
||||||
const { PRIMARY_CONTENT } = homepageData;
|
const { PRIMARY_CONTENT } = homepageData;
|
||||||
let channelIds;
|
let channelIds;
|
||||||
if (PRIMARY_CONTENT && CUSTOM_HOMEPAGE) {
|
if (PRIMARY_CONTENT && CUSTOM_HOMEPAGE) {
|
||||||
channelIds = PRIMARY_CONTENT.channelIds;
|
channelIds = PRIMARY_CONTENT.ids;
|
||||||
}
|
}
|
||||||
let rowData: Array<ChannelsFollowingItem> = [];
|
let rowData: Array<ChannelsFollowingItem> = [];
|
||||||
const notChannels = subscribedChannels
|
const notChannels = subscribedChannels
|
||||||
|
|
Loading…
Reference in a new issue