0e96f8d468
This reverts commitcaadd889ce
, reversing changes made to8b2c7a2b21
. ## Issue - Infinite `resolve` loop when deleted channel is present in the comments. - Since it was only displayed comments with resolved channels, it masked away those comments. While that may or may not be regarded as a defect, I think we should do it at Commentron instead of at the app if we want to filter deleted channels. I vote to show comments from deleted channels, since it might have good conversation thread.
15 lines
732 B
JavaScript
15 lines
732 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectClaimIsMine, selectMyChannelClaims } from 'lbry-redux';
|
|
import { selectIsFetchingCommentsByParentId, makeSelectRepliesForParentId } from 'redux/selectors/comments';
|
|
import { selectUserVerifiedEmail } from 'redux/selectors/user';
|
|
import CommentsReplies from './view';
|
|
|
|
const select = (state, props) => ({
|
|
fetchedReplies: makeSelectRepliesForParentId(props.parentId)(state),
|
|
claimIsMine: makeSelectClaimIsMine(props.uri)(state),
|
|
commentingEnabled: IS_WEB ? Boolean(selectUserVerifiedEmail(state)) : true,
|
|
myChannels: selectMyChannelClaims(state),
|
|
isFetchingByParentId: selectIsFetchingCommentsByParentId(state),
|
|
});
|
|
|
|
export default connect(select)(CommentsReplies);
|