iterate PR based on feedback

This commit is contained in:
Michael Telatynski 2021-06-08 16:42:58 +01:00
parent 0c97d90fb9
commit 93eb9feaa7

View file

@ -1249,12 +1249,12 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
}
}
async onLinkClick(e) {
private async onLinkClick(e) {
e.preventDefault();
selectText(e.target);
}
onCopyClick = async e => {
private onCopyClick = async e => {
e.preventDefault();
const target = e.target; // copy target before we go async and React throws it away
@ -1348,7 +1348,7 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
goButtonFn = this.startDm;
extraSection = <div className="mx_InviteDialog_section_hidden_suggestions_disclaimer">
<span>{ _t("Some suggestions may be hidden for privacy.") }</span>
<p>{ _t("If you cant see who youre looking for, send them your invite link below.") }</p>
<p>{ _t("If you can't see who youre looking for, send them your invite link below.") }</p>
</div>;
const link = makeUserPermalink(MatrixClientPeg.get().getUserId());
footer = <div className="mx_InviteDialog_footer">