diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js
index cba030c1cc..b137893bde 100644
--- a/src/components/structures/GroupView.js
+++ b/src/components/structures/GroupView.js
@@ -936,7 +936,7 @@ export default React.createClass({
'Your community hasn\'t got a Long Description, a HTML page to show to community members.
' +
'Click here to open settings and give it one!',
{},
- { 'br': () =>
},
+ { 'br':
},
) }
;
}
diff --git a/src/components/views/dialogs/SetMxIdDialog.js b/src/components/views/dialogs/SetMxIdDialog.js
index 53fdee20ff..6fc1d77682 100644
--- a/src/components/views/dialogs/SetMxIdDialog.js
+++ b/src/components/views/dialogs/SetMxIdDialog.js
@@ -272,7 +272,7 @@ export default React.createClass({
'homeserver, or you can pick a different server.',
{},
{
- 'span': () => { this.props.homeserverUrl },
+ 'span': { this.props.homeserverUrl },
'a': (sub) => { sub },
},
) }
diff --git a/src/components/views/login/InteractiveAuthEntryComponents.js b/src/components/views/login/InteractiveAuthEntryComponents.js
index de8746230c..d0b6c8decb 100644
--- a/src/components/views/login/InteractiveAuthEntryComponents.js
+++ b/src/components/views/login/InteractiveAuthEntryComponents.js
@@ -374,7 +374,7 @@ export const MsisdnAuthEntry = React.createClass({
return (
{ _t("A text message has been sent to %(msisdn)s", - { msisdn: () => this._msisdn }, + { msisdn: this._msisdn }, ) }
{ _t("Please enter the code it contains:") }
diff --git a/src/components/views/rooms/RoomList.js b/src/components/views/rooms/RoomList.js index c1e1ce2cb2..ebe0bdb03f 100644 --- a/src/components/views/rooms/RoomList.js +++ b/src/components/views/rooms/RoomList.js @@ -490,7 +490,7 @@ module.exports = React.createClass({ { _t( "Press{ event_type }
});
+ else label = _t("To send events of type { event_type }
});
return (