small fixes

pull/21833/head
Bruno Windels 2019-11-13 18:00:57 +01:00
parent 030827f77d
commit 9e8a2eda1f
1 changed files with 2 additions and 3 deletions

View File

@ -40,7 +40,6 @@ import MatrixClientPeg from "../../../MatrixClientPeg";
import E2EIcon from "../rooms/E2EIcon"; import E2EIcon from "../rooms/E2EIcon";
import withLegacyMatrixClient from "../../../utils/withLegacyMatrixClient"; import withLegacyMatrixClient from "../../../utils/withLegacyMatrixClient";
import {useEventEmitter} from "../../../hooks/useEventEmitter"; import {useEventEmitter} from "../../../hooks/useEventEmitter";
import {ContentRepo} from 'matrix-js-sdk';
const _disambiguateDevices = (devices) => { const _disambiguateDevices = (devices) => {
const names = Object.create(null); const names = Object.create(null);
@ -315,13 +314,13 @@ const UserOptionsSection = withLegacyMatrixClient(({matrixClient: cli, member, i
return ( return (
<div className="mx_UserInfo_container"> <div className="mx_UserInfo_container">
<h3>{ _t("Options") }</h3> <h3>{ _t("Options") }</h3>
<div className="mx_UserInfo_buttons"> <div>
{ directMessageButton } { directMessageButton }
{ readReceiptButton } { readReceiptButton }
{ shareUserButton } { shareUserButton }
{ insertPillButton } { insertPillButton }
{ ignoreButton }
{ inviteUserButton } { inviteUserButton }
{ ignoreButton }
{ unverifyButton } { unverifyButton }
</div> </div>
</div> </div>