mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-13 19:46:47 +03:00
Linting
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
0b20681f6a
commit
788e16a716
1 changed files with 6 additions and 6 deletions
|
@ -111,10 +111,10 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
const avatarNode = (
|
const avatarNode = (
|
||||||
<MemberAvatar member={this.props.member} width={this.props.width} height={this.props.height}
|
<MemberAvatar member={this.props.member} width={this.props.width} height={this.props.height}
|
||||||
resizeMethod={this.props.resizeMethod}/>
|
resizeMethod={this.props.resizeMethod} />
|
||||||
);
|
);
|
||||||
let statusNode = (
|
let statusNode = (
|
||||||
<span className={"mx_MemberPresenceAvatar_status mx_MemberPresenceAvatar_status_" + this.state.status}/>
|
<span className={"mx_MemberPresenceAvatar_status mx_MemberPresenceAvatar_status_" + this.state.status} />
|
||||||
);
|
);
|
||||||
|
|
||||||
// LABS: Disable presence management functions for now
|
// LABS: Disable presence management functions for now
|
||||||
|
@ -125,15 +125,15 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
let avatar = (
|
let avatar = (
|
||||||
<div className="mx_MemberPresenceAvatar">
|
<div className="mx_MemberPresenceAvatar">
|
||||||
{avatarNode}
|
{ avatarNode }
|
||||||
{statusNode}
|
{ statusNode }
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
if (onClickFn) {
|
if (onClickFn) {
|
||||||
avatar = (
|
avatar = (
|
||||||
<AccessibleButton onClick={onClickFn} className="mx_MemberPresenceAvatar" element="div">
|
<AccessibleButton onClick={onClickFn} className="mx_MemberPresenceAvatar" element="div">
|
||||||
{avatarNode}
|
{ avatarNode }
|
||||||
{statusNode}
|
{ statusNode }
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue