From f526ee0d963788734bb01bd7fb8874e757c41756 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 5 Feb 2020 16:46:59 +1100 Subject: [PATCH] gruntify --- ts/components/LeftPane.tsx | 1 - .../conversation/ConversationHeader.tsx | 20 +------------------ 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/ts/components/LeftPane.tsx b/ts/components/LeftPane.tsx index 7313c48ac..93ae06626 100644 --- a/ts/components/LeftPane.tsx +++ b/ts/components/LeftPane.tsx @@ -190,7 +190,6 @@ export class LeftPane extends React.Component { return ( { } public render() { - const { id, isGroup, isPublic } = this.props; + const { id } = this.props; const triggerId = `conversation-${id}-${Date.now()}`; - const isPrivateGroup = isGroup && !isPublic; - return ( <> {this.renderSelectionOverlay()} @@ -419,22 +417,6 @@ export class ConversationHeader extends React.Component { $('.session-search-input input').focus(); } - private renderMemberCount() { - const memberCount = this.props.isPublic - ? this.props.subscriberCount - : this.props.members.length; - - if (memberCount === 0) { - return null; - } - - const wordForm = memberCount === 1 ? 'member' : 'members'; - - return ( - {`(${memberCount} ${wordForm})`} - ); - } - private renderPublicMenuItems() { const { i18n,