diff --git a/src/components/views/dialogs/CreateRoomDialog.tsx b/src/components/views/dialogs/CreateRoomDialog.tsx index eecddf7f31..60df13f983 100644 --- a/src/components/views/dialogs/CreateRoomDialog.tsx +++ b/src/components/views/dialogs/CreateRoomDialog.tsx @@ -249,7 +249,7 @@ export default class CreateRoomDialog extends React.Component { publicPrivateLabel =

{ _t( "Everyone in will be able to find and join this room.", {}, { - SpaceName: () => this.props.parentSpace.name, + SpaceName: () => { this.props.parentSpace.name }, }, ) }   @@ -259,7 +259,7 @@ export default class CreateRoomDialog extends React.Component { publicPrivateLabel =

{ _t( "Anyone will be able to find and join this room, not just members of .", {}, { - SpaceName: () => this.props.parentSpace.name, + SpaceName: () => { this.props.parentSpace.name }, }, ) }   diff --git a/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx b/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx index 1ab883a698..f70477166f 100644 --- a/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx +++ b/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx @@ -337,7 +337,7 @@ export default class SecurityRoomSettingsTab extends React.Component