Appease the linter
This commit is contained in:
parent
091bfdeaa0
commit
45a44b9102
1 changed files with 3 additions and 3 deletions
|
@ -229,7 +229,7 @@ class DMRoomTile extends React.PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
const avatarSize = 36;
|
const avatarSize = 36;
|
||||||
let avatar = this.props.member.isEmail
|
const avatar = this.props.member.isEmail
|
||||||
? <img
|
? <img
|
||||||
src={require("../../../../res/img/icon-email-pill-avatar.svg")}
|
src={require("../../../../res/img/icon-email-pill-avatar.svg")}
|
||||||
width={avatarSize} height={avatarSize} />
|
width={avatarSize} height={avatarSize} />
|
||||||
|
@ -250,7 +250,7 @@ class DMRoomTile extends React.PureComponent {
|
||||||
|
|
||||||
// To reduce flickering we put the checkmark on top of the actual avatar (prevents
|
// 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).
|
// the browser from reloading the image source when the avatar remounts).
|
||||||
let stackedAvatar = (
|
const stackedAvatar = (
|
||||||
<span className='mx_DMInviteDialog_roomTile_avatarStack'>
|
<span className='mx_DMInviteDialog_roomTile_avatarStack'>
|
||||||
{avatar}
|
{avatar}
|
||||||
{checkmark}
|
{checkmark}
|
||||||
|
@ -538,7 +538,7 @@ export default class DMInviteDialog extends React.PureComponent {
|
||||||
{targets}
|
{targets}
|
||||||
{input}
|
{input}
|
||||||
</div>
|
</div>
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|
Loading…
Reference in a new issue