diff --git a/ui/page/discover/view.jsx b/ui/page/discover/view.jsx index 0ef59fd829..7733a883ed 100644 --- a/ui/page/discover/view.jsx +++ b/ui/page/discover/view.jsx @@ -97,7 +97,7 @@ function DiscoverPage(props: Props) { = []; - for (const creatorId in activeLivestreamByCreatorId) { - const activeLivestream = activeLivestreamByCreatorId[creatorId]; - if (activeLivestream) { - if (channelIds) { - if (channelIds.includes(creatorId)) { - if (excludedChannelIds && !excludedChannelIds.includes(creatorId)) { - filtered.push(activeLivestream); - } - } - } else { - if (excludedChannelIds && !excludedChannelIds.includes(creatorId)) { - filtered.push(activeLivestream); - } - } - } - } - for (const creatorId in activeLivestreamByCreatorId) { const activeLivestream = activeLivestreamByCreatorId[creatorId]; if (activeLivestream) {