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 to start a chat with someone", {}, - { 'StartChatButton': () => }, + { 'StartChatButton': }, ) }
; case 'im.vector.fake.recent': @@ -500,8 +500,8 @@ module.exports = React.createClass({ " to browse the directory", {}, { - 'CreateRoomButton': () => , - 'RoomDirectoryButton': () => , + 'CreateRoomButton': , + 'RoomDirectoryButton': , }, ) } ; diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js index be5fb0fe2f..d11a45732e 100644 --- a/src/components/views/rooms/RoomSettings.js +++ b/src/components/views/rooms/RoomSettings.js @@ -938,7 +938,7 @@ module.exports = React.createClass({ { Object.keys(events_levels).map(function(event_type, i) { let label = plEventsToLabels[event_type]; if (label) label = _t(label); - else label = _t("To send events of type , you must be a", {}, { 'eventType': () => { event_type } }); + else label = _t("To send events of type , you must be a", {}, { 'eventType': { event_type } }); return (
{ label }