From 92fc807e3dd8964da01c522772ea908a17ec9705 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 11 Feb 2021 14:01:22 -0500 Subject: [PATCH] fix missing prop --- ui/component/comment/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/component/comment/index.js b/ui/component/comment/index.js index 7f94e4a96..44ef5cbdf 100644 --- a/ui/component/comment/index.js +++ b/ui/component/comment/index.js @@ -1,5 +1,5 @@ import { connect } from 'react-redux'; -import { makeSelectThumbnailForUri } from 'lbry-redux'; +import { makeSelectThumbnailForUri, selectMyChannelClaims } from 'lbry-redux'; import { doCommentUpdate } from 'redux/actions/comments'; import { selectChannelIsBlocked } from 'redux/selectors/blocked'; import { doToast } from 'redux/actions/notifications'; @@ -15,12 +15,13 @@ const select = (state, props) => ({ commentingEnabled: IS_WEB ? Boolean(selectUserVerifiedEmail(state)) : true, othersReacts: makeSelectOthersReactionsForComment(props.commentId)(state), activeChannelClaim: selectActiveChannelClaim(state), + myChannels: selectMyChannelClaims(state), }); -const perform = dispatch => ({ +const perform = (dispatch) => ({ closeInlinePlayer: () => dispatch(doSetPlayingUri({ uri: null })), updateComment: (commentId, comment) => dispatch(doCommentUpdate(commentId, comment)), - doToast: options => dispatch(doToast(options)), + doToast: (options) => dispatch(doToast(options)), }); export default connect(select, perform)(Comment);