From 45a44b910233a513d9dc7ca905d7cea1674b2e0f Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 7 Jan 2020 12:20:02 -0700 Subject: [PATCH] Appease the linter --- src/components/views/dialogs/DMInviteDialog.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/dialogs/DMInviteDialog.js b/src/components/views/dialogs/DMInviteDialog.js index 3703082504..597dd4e01e 100644 --- a/src/components/views/dialogs/DMInviteDialog.js +++ b/src/components/views/dialogs/DMInviteDialog.js @@ -229,7 +229,7 @@ class DMRoomTile extends React.PureComponent { } const avatarSize = 36; - let avatar = this.props.member.isEmail + const avatar = this.props.member.isEmail ? @@ -250,7 +250,7 @@ class DMRoomTile extends React.PureComponent { // To reduce flickering we put the checkmark on top of the actual avatar (prevents // the browser from reloading the image source when the avatar remounts). - let stackedAvatar = ( + const stackedAvatar = ( {avatar} {checkmark} @@ -538,7 +538,7 @@ export default class DMInviteDialog extends React.PureComponent { {targets} {input} - ) + ); } render() {