From 7dba05a983da97fdad0cebdad69f9dad0a5a784a Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 3 Mar 2021 12:50:13 -0500 Subject: [PATCH] PR cleanup --- ui/component/claimPreview/view.jsx | 1 - ui/component/commentMenuList/view.jsx | 6 ++++-- ui/redux/actions/comments.js | 3 +-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/component/claimPreview/view.jsx b/ui/component/claimPreview/view.jsx index c8f464c5b..805b807c9 100644 --- a/ui/component/claimPreview/view.jsx +++ b/ui/component/claimPreview/view.jsx @@ -329,7 +329,6 @@ const ClaimPreview = forwardRef((props: Props, ref: any) => { {!isChannelUri && signingChannel && (
- {/* */}
)} diff --git a/ui/component/commentMenuList/view.jsx b/ui/component/commentMenuList/view.jsx index 8c26ca356..843289a49 100644 --- a/ui/component/commentMenuList/view.jsx +++ b/ui/component/commentMenuList/view.jsx @@ -107,7 +107,7 @@ function CommentMenuList(props: Props) { {__('Block')} {activeChannelIsCreator && ( - Prevent this channel from interacting with you. + {__('Prevent this channel from interacting with you.')} )} )} @@ -118,7 +118,9 @@ function CommentMenuList(props: Props) { {__('Mute')} - {activeChannelIsCreator && Hide this channel for you only.} + {activeChannelIsCreator && ( + {__('Hide this channel for you only.')} + )} )} diff --git a/ui/redux/actions/comments.js b/ui/redux/actions/comments.js index 335ae9f29..9a1bec1cf 100644 --- a/ui/redux/actions/comments.js +++ b/ui/redux/actions/comments.js @@ -544,7 +544,6 @@ export function doFetchModBlockedList() { const blockListForChannel = channelBlockListData && channelBlockListData.blocked_channels; if (blockListForChannel) { blockListForChannel.forEach((blockedChannel) => { - // REMOVE THIS if (blockedChannel.blocked_channel_name) { const channelUri = buildURI({ channelName: blockedChannel.blocked_channel_name, @@ -568,7 +567,7 @@ export function doFetchModBlockedList() { }, }); }) - .catch((err) => { + .catch(() => { dispatch({ type: ACTIONS.COMMENT_MODERATION_BLOCK_LIST_FAILED, });