diff --git a/src/components/views/dialogs/InviteDialog.js b/src/components/views/dialogs/InviteDialog.js
index f66de67a1d..73101056f3 100644
--- a/src/components/views/dialogs/InviteDialog.js
+++ b/src/components/views/dialogs/InviteDialog.js
@@ -1123,24 +1123,25 @@ export default class InviteDialog extends React.PureComponent {
const inviteText = _t("This won't invite them to %(communityName)s. " +
"To invite someone to %(communityName)s, click here",
{communityName}, {
- userId: () => {
- return (
- {userId}
- );
+ userId: () => {
+ return (
+ {userId}
+ );
+ },
+ a: (sub) => {
+ return (
+ {sub}
+ );
+ },
},
- a: (sub) => {
- return (
- {sub}
- );
- },
- });
+ );
helpText =
{ helpText } {inviteText}
;