This commit is contained in:
zeppi 2021-07-01 13:34:29 -04:00 committed by jessopb
parent 9c8c00a21f
commit 608a421ce5
2 changed files with 1 additions and 7 deletions

View file

@ -7,7 +7,6 @@ import {
selectCurrentChannelPage,
makeSelectClaimForUri,
makeSelectClaimIsPending,
selectMyUnpublishedCollections,
} from 'lbry-redux';
import { selectBlackListedOutpoints, doFetchSubCount, makeSelectSubCountForUri } from 'lbryinc';
import { selectYoutubeChannels } from 'redux/selectors/user';
@ -31,7 +30,6 @@ const select = (state, props) => ({
youtubeChannels: selectYoutubeChannels(state),
blockedChannels: selectModerationBlockList(state),
mutedChannels: selectMutedChannels(state),
unpublishedCollections: selectMyUnpublishedCollections(state),
});
const perform = (dispatch) => ({

View file

@ -50,7 +50,6 @@ type Props = {
youtubeChannels: ?Array<{ channel_claim_id: string, sync_status: string, transfer_state: string }>,
blockedChannels: Array<string>,
mutedChannels: Array<string>,
unpublishedCollections: CollectionGroup,
};
function ChannelPage(props: Props) {
@ -69,7 +68,6 @@ function ChannelPage(props: Props) {
youtubeChannels,
blockedChannels,
mutedChannels,
unpublishedCollections,
} = props;
const {
push,
@ -100,8 +98,6 @@ function ChannelPage(props: Props) {
}
});
const hasUnpublishedCollections = unpublishedCollections && Object.keys(unpublishedCollections).length;
let channelIsBlackListed = false;
if (claim && blackListedOutpoints) {
@ -122,7 +118,7 @@ function ChannelPage(props: Props) {
tabIndex = 1;
break;
case DISCUSSION_PAGE:
tabIndex = 2
tabIndex = 2;
break;
default:
tabIndex = 0;