Reduce number of DOM elements

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-06-07 19:42:48 +02:00
parent 025148d9fc
commit 4185185cdc
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 4 additions and 6 deletions

View File

@ -146,13 +146,11 @@ export default class SenderProfile extends React.Component<IProps, IState> {
}
return (
<div className="mx_SenderProfile" dir="auto" onClick={this.props.onClick}>
<div className="mx_SenderProfile_hover">
<div className="mx_SenderProfile mx_SenderProfile_hover" dir="auto" onClick={this.props.onClick}>
{ displayNameElement }
{ mxidElement }
{ flair }
</div>
</div>
);
}
}