You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
tidy
This commit is contained in:
@@ -1123,24 +1123,25 @@ export default class InviteDialog extends React.PureComponent {
|
|||||||
const inviteText = _t("This won't invite them to %(communityName)s. " +
|
const inviteText = _t("This won't invite them to %(communityName)s. " +
|
||||||
"To invite someone to %(communityName)s, click <a>here</a>",
|
"To invite someone to %(communityName)s, click <a>here</a>",
|
||||||
{communityName}, {
|
{communityName}, {
|
||||||
userId: () => {
|
userId: () => {
|
||||||
return (
|
return (
|
||||||
<a
|
<a
|
||||||
href={makeUserPermalink(userId)}
|
href={makeUserPermalink(userId)}
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>{userId}</a>
|
>{userId}</a>
|
||||||
);
|
);
|
||||||
|
},
|
||||||
|
a: (sub) => {
|
||||||
|
return (
|
||||||
|
<AccessibleButton
|
||||||
|
kind="link"
|
||||||
|
onClick={this._onCommunityInviteClick}
|
||||||
|
>{sub}</AccessibleButton>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
a: (sub) => {
|
);
|
||||||
return (
|
|
||||||
<AccessibleButton
|
|
||||||
kind="link"
|
|
||||||
onClick={this._onCommunityInviteClick}
|
|
||||||
>{sub}</AccessibleButton>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
});
|
|
||||||
helpText = <React.Fragment>
|
helpText = <React.Fragment>
|
||||||
{ helpText } {inviteText}
|
{ helpText } {inviteText}
|
||||||
</React.Fragment>;
|
</React.Fragment>;
|
||||||
|
|||||||
Reference in New Issue
Block a user