tidy
parent
1c44f15d2d
commit
aa25bad689
|
@ -1120,11 +1120,8 @@ export default class InviteDialog extends React.PureComponent {
|
|||
|
||||
if (CommunityPrototypeStore.instance.getSelectedCommunityId()) {
|
||||
const communityName = CommunityPrototypeStore.instance.getSelectedCommunityName();
|
||||
|
||||
helpText = <React.Fragment>
|
||||
{ helpText } {_t(
|
||||
"This won't invite them to %(communityName)s. To invite someone to %(communityName)s, " +
|
||||
"click <a>here</a>",
|
||||
const inviteText = _t("This won't invite them to %(communityName)s. " +
|
||||
"To invite someone to %(communityName)s, click <a>here</a>",
|
||||
{communityName}, {
|
||||
userId: () => {
|
||||
return (
|
||||
|
@ -1143,7 +1140,9 @@ export default class InviteDialog extends React.PureComponent {
|
|||
>{sub}</AccessibleButton>
|
||||
);
|
||||
},
|
||||
})}
|
||||
});
|
||||
helpText = <React.Fragment>
|
||||
{ helpText } {inviteText}
|
||||
</React.Fragment>;
|
||||
}
|
||||
buttonText = _t("Go");
|
||||
|
|
Loading…
Reference in New Issue