mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-13 13:19:56 +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 = (
|
||||
<MemberAvatar member={this.props.member} width={this.props.width} height={this.props.height}
|
||||
resizeMethod={this.props.resizeMethod}/>
|
||||
resizeMethod={this.props.resizeMethod} />
|
||||
);
|
||||
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
|
||||
|
@ -125,15 +125,15 @@ module.exports = React.createClass({
|
|||
|
||||
let avatar = (
|
||||
<div className="mx_MemberPresenceAvatar">
|
||||
{avatarNode}
|
||||
{statusNode}
|
||||
{ avatarNode }
|
||||
{ statusNode }
|
||||
</div>
|
||||
);
|
||||
if (onClickFn) {
|
||||
avatar = (
|
||||
<AccessibleButton onClick={onClickFn} className="mx_MemberPresenceAvatar" element="div">
|
||||
{avatarNode}
|
||||
{statusNode}
|
||||
{ avatarNode }
|
||||
{ statusNode }
|
||||
</AccessibleButton>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue