Fix formatting
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
This commit is contained in:
parent
41e3e266e4
commit
f4937a81cf
2 changed files with 4 additions and 2 deletions
|
@ -59,7 +59,8 @@ export default createReactClass({
|
||||||
);
|
);
|
||||||
|
|
||||||
const av = (
|
const av = (
|
||||||
<BaseAvatar aria-hidden="true"
|
<BaseAvatar
|
||||||
|
aria-hidden="true"
|
||||||
name={this.props.member.displayname || this.props.member.userId}
|
name={this.props.member.displayname || this.props.member.userId}
|
||||||
idName={this.props.member.userId}
|
idName={this.props.member.userId}
|
||||||
width={36} height={36}
|
width={36} height={36}
|
||||||
|
|
|
@ -175,7 +175,8 @@ const EntityTile = createReactClass({
|
||||||
|
|
||||||
const BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
|
const BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
|
||||||
|
|
||||||
const av = this.props.avatarJsx || <BaseAvatar name={this.props.name} width={36} height={36} aria-hidden="true" />;
|
const av = this.props.avatarJsx ||
|
||||||
|
<BaseAvatar name={this.props.name} width={36} height={36} aria-hidden="true" />;
|
||||||
|
|
||||||
// The wrapping div is required to make the magic mouse listener work, for some reason.
|
// The wrapping div is required to make the magic mouse listener work, for some reason.
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue