diff --git a/ui/component/claimTilesDiscover/index.js b/ui/component/claimTilesDiscover/index.js index abc178d84..b509abae7 100644 --- a/ui/component/claimTilesDiscover/index.js +++ b/ui/component/claimTilesDiscover/index.js @@ -1,7 +1,5 @@ import { connect } from 'react-redux'; import { doClaimSearch, selectClaimSearchByQuery, selectFetchingClaimSearchByQuery, SETTINGS } from 'lbry-redux'; -import { selectMutedChannels } from 'redux/selectors/blocked'; -import { selectModerationBlockList } from 'redux/selectors/comments'; import { doToggleTagFollowDesktop } from 'redux/actions/tags'; import { makeSelectClientSetting } from 'redux/selectors/settings'; import ClaimListDiscover from './view'; @@ -11,8 +9,6 @@ const select = (state) => ({ fetchingClaimSearchByQuery: selectFetchingClaimSearchByQuery(state), showNsfw: makeSelectClientSetting(SETTINGS.SHOW_MATURE)(state), hideReposts: makeSelectClientSetting(SETTINGS.HIDE_REPOSTS)(state), - mutedUris: selectMutedChannels(state), - blockedUris: selectModerationBlockList(state), }); const perform = { diff --git a/ui/component/claimTilesDiscover/view.jsx b/ui/component/claimTilesDiscover/view.jsx index 4faa9cb6d..326e4d0e7 100644 --- a/ui/component/claimTilesDiscover/view.jsx +++ b/ui/component/claimTilesDiscover/view.jsx @@ -39,8 +39,6 @@ function ClaimTilesDiscover(props: Props) { claimSearchByQuery, showNsfw, hideReposts, - blockedUris, - mutedUris, // Below are options to pass that are forwarded to claim_search tags, channelIds, @@ -60,7 +58,6 @@ function ClaimTilesDiscover(props: Props) { const urlParams = new URLSearchParams(location.search); const feeAmountInUrl = urlParams.get('fee_amount'); const feeAmountParam = feeAmountInUrl || feeAmount; - const mutedAndBlockedChannelIds = Array.from(new Set(mutedUris.concat(blockedUris).map((uri) => uri.split('#')[1]))); const options: { page_size: number, no_totals: boolean, @@ -87,7 +84,7 @@ function ClaimTilesDiscover(props: Props) { not_tags: !showNsfw ? MATURE_TAGS : [], any_languages: languages, channel_ids: channelIds || [], - not_channel_ids: mutedAndBlockedChannelIds || [], + not_channel_ids: [], order_by: orderBy || ['trending_group', 'trending_mixed'], };