From aeb349ea64e6a1a0b3ab413e7e3f56d2f62fc26a Mon Sep 17 00:00:00 2001 From: Mikunj <mikunj@live.com.au> Date: Thu, 5 Mar 2020 15:40:53 +1100 Subject: [PATCH] Unrelated lint... --- .../conversation/ConversationHeader.tsx | 38 +++++++++---------- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/ts/components/conversation/ConversationHeader.tsx b/ts/components/conversation/ConversationHeader.tsx index 1aae3bb6a..db3e4f56f 100644 --- a/ts/components/conversation/ConversationHeader.tsx +++ b/ts/components/conversation/ConversationHeader.tsx @@ -255,17 +255,17 @@ export class ConversationHeader extends React.Component<Props> { ); } - public renderSearch() { - return ( - <div className="search-icon"> - <SessionIconButton - iconType={SessionIconType.Search} - iconSize={SessionIconSize.Large} - iconPadded={true} - onClick={this.highlightMessageSearch} - /> - </div> - ); + public renderSearch() { + return ( + <div className="search-icon"> + <SessionIconButton + iconType={SessionIconType.Search} + iconSize={SessionIconSize.Large} + iconPadded={true} + onClick={this.highlightMessageSearch} + /> + </div> + ); } public renderOptions(triggerId: string) { @@ -398,12 +398,8 @@ export class ConversationHeader extends React.Component<Props> { </div> </div> {this.renderExpirationLength()} - - {!this.props.isRss && ( - <> - {this.renderAvatar()} - </> - )} + + {!this.props.isRss && <>{this.renderAvatar()}</>} {!this.props.isRss && this.renderAvatar()} @@ -419,10 +415,10 @@ export class ConversationHeader extends React.Component<Props> { } } - public highlightMessageSearch() { - // This is a temporary fix. In future we want to search - // messages in the current conversation - $('.session-search-input input').focus(); + public highlightMessageSearch() { + // This is a temporary fix. In future we want to search + // messages in the current conversation + $('.session-search-input input').focus(); } private renderPublicMenuItems() {