PR cleanup

This commit is contained in:
Sean Yesmunt 2021-03-03 12:50:13 -05:00
parent 87d04b2e97
commit 7dba05a983
3 changed files with 5 additions and 5 deletions

View file

@ -329,7 +329,6 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
{!isChannelUri && signingChannel && ( {!isChannelUri && signingChannel && (
<div className="claim-preview__channel-staked"> <div className="claim-preview__channel-staked">
<ChannelThumbnail uri={signingChannel.permanent_url} /> <ChannelThumbnail uri={signingChannel.permanent_url} />
{/* <ChannelStakedIndicator uri={signingChannel.permanent_url} inline /> */}
</div> </div>
)} )}

View file

@ -107,7 +107,7 @@ function CommentMenuList(props: Props) {
{__('Block')} {__('Block')}
</div> </div>
{activeChannelIsCreator && ( {activeChannelIsCreator && (
<span className="comment__menu-help">Prevent this channel from interacting with you.</span> <span className="comment__menu-help">{__('Prevent this channel from interacting with you.')}</span>
)} )}
</MenuItem> </MenuItem>
)} )}
@ -118,7 +118,9 @@ function CommentMenuList(props: Props) {
<Icon aria-hidden icon={ICONS.MUTE} /> <Icon aria-hidden icon={ICONS.MUTE} />
{__('Mute')} {__('Mute')}
</div> </div>
{activeChannelIsCreator && <span className="comment__menu-help">Hide this channel for you only.</span>} {activeChannelIsCreator && (
<span className="comment__menu-help">{__('Hide this channel for you only.')}</span>
)}
</MenuItem> </MenuItem>
)} )}

View file

@ -544,7 +544,6 @@ export function doFetchModBlockedList() {
const blockListForChannel = channelBlockListData && channelBlockListData.blocked_channels; const blockListForChannel = channelBlockListData && channelBlockListData.blocked_channels;
if (blockListForChannel) { if (blockListForChannel) {
blockListForChannel.forEach((blockedChannel) => { blockListForChannel.forEach((blockedChannel) => {
// REMOVE THIS
if (blockedChannel.blocked_channel_name) { if (blockedChannel.blocked_channel_name) {
const channelUri = buildURI({ const channelUri = buildURI({
channelName: blockedChannel.blocked_channel_name, channelName: blockedChannel.blocked_channel_name,
@ -568,7 +567,7 @@ export function doFetchModBlockedList() {
}, },
}); });
}) })
.catch((err) => { .catch(() => {
dispatch({ dispatch({
type: ACTIONS.COMMENT_MODERATION_BLOCK_LIST_FAILED, type: ACTIONS.COMMENT_MODERATION_BLOCK_LIST_FAILED,
}); });