lint
This commit is contained in:
parent
9c8c00a21f
commit
608a421ce5
2 changed files with 1 additions and 7 deletions
|
@ -7,7 +7,6 @@ import {
|
||||||
selectCurrentChannelPage,
|
selectCurrentChannelPage,
|
||||||
makeSelectClaimForUri,
|
makeSelectClaimForUri,
|
||||||
makeSelectClaimIsPending,
|
makeSelectClaimIsPending,
|
||||||
selectMyUnpublishedCollections,
|
|
||||||
} from 'lbry-redux';
|
} from 'lbry-redux';
|
||||||
import { selectBlackListedOutpoints, doFetchSubCount, makeSelectSubCountForUri } from 'lbryinc';
|
import { selectBlackListedOutpoints, doFetchSubCount, makeSelectSubCountForUri } from 'lbryinc';
|
||||||
import { selectYoutubeChannels } from 'redux/selectors/user';
|
import { selectYoutubeChannels } from 'redux/selectors/user';
|
||||||
|
@ -31,7 +30,6 @@ const select = (state, props) => ({
|
||||||
youtubeChannels: selectYoutubeChannels(state),
|
youtubeChannels: selectYoutubeChannels(state),
|
||||||
blockedChannels: selectModerationBlockList(state),
|
blockedChannels: selectModerationBlockList(state),
|
||||||
mutedChannels: selectMutedChannels(state),
|
mutedChannels: selectMutedChannels(state),
|
||||||
unpublishedCollections: selectMyUnpublishedCollections(state),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const perform = (dispatch) => ({
|
const perform = (dispatch) => ({
|
||||||
|
|
|
@ -50,7 +50,6 @@ type Props = {
|
||||||
youtubeChannels: ?Array<{ channel_claim_id: string, sync_status: string, transfer_state: string }>,
|
youtubeChannels: ?Array<{ channel_claim_id: string, sync_status: string, transfer_state: string }>,
|
||||||
blockedChannels: Array<string>,
|
blockedChannels: Array<string>,
|
||||||
mutedChannels: Array<string>,
|
mutedChannels: Array<string>,
|
||||||
unpublishedCollections: CollectionGroup,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function ChannelPage(props: Props) {
|
function ChannelPage(props: Props) {
|
||||||
|
@ -69,7 +68,6 @@ function ChannelPage(props: Props) {
|
||||||
youtubeChannels,
|
youtubeChannels,
|
||||||
blockedChannels,
|
blockedChannels,
|
||||||
mutedChannels,
|
mutedChannels,
|
||||||
unpublishedCollections,
|
|
||||||
} = props;
|
} = props;
|
||||||
const {
|
const {
|
||||||
push,
|
push,
|
||||||
|
@ -100,8 +98,6 @@ function ChannelPage(props: Props) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const hasUnpublishedCollections = unpublishedCollections && Object.keys(unpublishedCollections).length;
|
|
||||||
|
|
||||||
let channelIsBlackListed = false;
|
let channelIsBlackListed = false;
|
||||||
|
|
||||||
if (claim && blackListedOutpoints) {
|
if (claim && blackListedOutpoints) {
|
||||||
|
@ -122,7 +118,7 @@ function ChannelPage(props: Props) {
|
||||||
tabIndex = 1;
|
tabIndex = 1;
|
||||||
break;
|
break;
|
||||||
case DISCUSSION_PAGE:
|
case DISCUSSION_PAGE:
|
||||||
tabIndex = 2
|
tabIndex = 2;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
tabIndex = 0;
|
tabIndex = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue