diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index a0aa36803f..d52599abe9 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -1214,25 +1214,25 @@ export default createReactClass({ const EditableText = sdk.getComponent("elements.EditableText"); - nameNode = ; + nameNode = ; - shortDescNode = ; + shortDescNode = ; } else { const onGroupHeaderItemClick = this.state.isUserMember ? this._onEditClick : null; const groupAvatarUrl = summary.profile ? summary.profile.avatar_url : null; diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js index efca8d12a8..c8863773f4 100644 --- a/src/components/structures/RoomDirectory.js +++ b/src/components/structures/RoomDirectory.js @@ -572,7 +572,7 @@ module.exports = createReactClass({ if (rows.length === 0 && !this.state.loading) { scrollpanel_content = { _t('No rooms to show') }; } else { - scrollpanel_content = + scrollpanel_content =
{ rows } diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 5cc1e2b765..679b385c71 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -1719,7 +1719,7 @@ module.exports = createReactClass({ aux = ; } else if (this.state.searching) { hideCancel = true; // has own cancel - aux = ; + aux = ; } else if (showRoomUpgradeBar) { aux = ; hideCancel = true; @@ -1775,7 +1775,7 @@ module.exports = createReactClass({ } const auxPanel = ( - + { _t("Error decrypting audio") } diff --git a/src/components/views/messages/MFileBody.js b/src/components/views/messages/MFileBody.js index 7f4d76747a..d231a86f36 100644 --- a/src/components/views/messages/MFileBody.js +++ b/src/components/views/messages/MFileBody.js @@ -325,7 +325,7 @@ module.exports = createReactClass({ }; return ( - +
{ _t("Decrypt %(text)s", { text: text }) } diff --git a/src/components/views/messages/MImageBody.js b/src/components/views/messages/MImageBody.js index b12957a7df..3c20aab529 100644 --- a/src/components/views/messages/MImageBody.js +++ b/src/components/views/messages/MImageBody.js @@ -459,7 +459,7 @@ export default class MImageBody extends React.Component { if (this.state.error !== null) { return ( - + { _t("Error decrypting image") } @@ -477,7 +477,7 @@ export default class MImageBody extends React.Component { const thumbnail = this._messageContent(contentUrl, thumbUrl, content); const fileBody = this.getFileBody(); - return + return { thumbnail } { fileBody } ; diff --git a/src/components/views/messages/MVideoBody.js b/src/components/views/messages/MVideoBody.js index 44954344ff..8366d0dd01 100644 --- a/src/components/views/messages/MVideoBody.js +++ b/src/components/views/messages/MVideoBody.js @@ -132,7 +132,7 @@ module.exports = createReactClass({ if (this.state.error !== null) { return ( - + { _t("Error decrypting video") } @@ -144,8 +144,8 @@ module.exports = createReactClass({ // The attachment is decrypted in componentDidMount. // For now add an img tag with a spinner. return ( - -
+ +
{content.body}
diff --git a/src/components/views/rooms/AuxPanel.js b/src/components/views/rooms/AuxPanel.js index ffb5d9272d..a83160ddbf 100644 --- a/src/components/views/rooms/AuxPanel.js +++ b/src/components/views/rooms/AuxPanel.js @@ -188,14 +188,15 @@ module.exports = createReactClass({ } const callView = ( - ); - const appsDrawer = { _t('No rooms to show') }; } else { - rooms =
+ rooms =
{ this.getRows() } diff --git a/src/components/views/rooms/RoomNameEditor.js b/src/components/views/rooms/RoomNameEditor.js index 5bdf719e97..375a4b42b1 100644 --- a/src/components/views/rooms/RoomNameEditor.js +++ b/src/components/views/rooms/RoomNameEditor.js @@ -65,14 +65,14 @@ module.exports = createReactClass({ return (
- +
); },