From 87d04b2e974fb83aff0f26de613a21e4f7967868 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 3 Mar 2021 11:23:20 -0500 Subject: [PATCH] always pass mute/block list to claim_search on homepage --- ui/component/claimTilesDiscover/view.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/component/claimTilesDiscover/view.jsx b/ui/component/claimTilesDiscover/view.jsx index 05aed5851..4faa9cb6d 100644 --- a/ui/component/claimTilesDiscover/view.jsx +++ b/ui/component/claimTilesDiscover/view.jsx @@ -23,7 +23,6 @@ type Props = { mutedUris: Array, claimIds?: Array, channelIds?: Array, - notChannelIds?: Array, pageSize: number, orderBy?: Array, releaseTime?: string, @@ -46,7 +45,6 @@ function ClaimTilesDiscover(props: Props) { tags, channelIds, claimIds, - notChannelIds, orderBy, pageSize = 8, releaseTime, @@ -89,7 +87,7 @@ function ClaimTilesDiscover(props: Props) { not_tags: !showNsfw ? MATURE_TAGS : [], any_languages: languages, channel_ids: channelIds || [], - not_channel_ids: notChannelIds || (!channelIds ? mutedAndBlockedChannelIds : []), + not_channel_ids: mutedAndBlockedChannelIds || [], order_by: orderBy || ['trending_group', 'trending_mixed'], };