ShowPage: remove unused props
This commit is contained in:
parent
4643dbd767
commit
a11d8279be
2 changed files with 2 additions and 8 deletions
|
@ -1,15 +1,11 @@
|
|||
import { DOMAIN } from 'config';
|
||||
import { connect } from 'react-redux';
|
||||
import { withRouter } from 'react-router';
|
||||
import { PAGE_SIZE } from 'constants/claim';
|
||||
import {
|
||||
selectClaimForUri,
|
||||
selectIsUriResolving,
|
||||
makeSelectTotalPagesForChannel,
|
||||
selectTitleForUri,
|
||||
selectClaimIsMine,
|
||||
makeSelectClaimIsPending,
|
||||
selectIsStreamPlaceholderForUri,
|
||||
selectGeoRestrictionForUri,
|
||||
} from 'redux/selectors/claims';
|
||||
import {
|
||||
|
@ -20,6 +16,7 @@ import {
|
|||
import { doResolveUri } from 'redux/actions/claims';
|
||||
import { doBeginPublish } from 'redux/actions/publish';
|
||||
import { doFetchItemsInCollection } from 'redux/actions/collections';
|
||||
import { isStreamPlaceholderClaim } from 'util/claim';
|
||||
import { normalizeURI } from 'util/lbryURI';
|
||||
import * as COLLECTIONS_CONSTS from 'constants/collections';
|
||||
import { selectIsSubscribedForUri } from 'redux/selectors/subscriptions';
|
||||
|
@ -76,12 +73,10 @@ const select = (state, props) => {
|
|||
claim,
|
||||
isResolvingUri: selectIsUriResolving(state, uri),
|
||||
blackListedOutpointMap: selectBlacklistedOutpointMap(state),
|
||||
totalPages: makeSelectTotalPagesForChannel(uri, PAGE_SIZE)(state),
|
||||
isSubscribed: selectIsSubscribedForUri(state, uri),
|
||||
title: selectTitleForUri(state, uri),
|
||||
claimIsMine: selectClaimIsMine(state, claim),
|
||||
claimIsPending: makeSelectClaimIsPending(uri)(state),
|
||||
isLivestream: selectIsStreamPlaceholderForUri(state, uri),
|
||||
isLivestream: isStreamPlaceholderClaim(claim),
|
||||
collection: makeSelectCollectionForId(collectionId)(state),
|
||||
collectionId,
|
||||
collectionUrls: makeSelectUrlsForCollectionId(collectionId)(state),
|
||||
|
|
|
@ -28,7 +28,6 @@ type Props = {
|
|||
claim: StreamClaim,
|
||||
location: UrlLocation,
|
||||
blackListedOutpointMap: { [string]: number },
|
||||
title: string,
|
||||
claimIsMine: boolean,
|
||||
claimIsPending: boolean,
|
||||
isLivestream: boolean,
|
||||
|
|
Loading…
Reference in a new issue