diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js
index dbf06fe547..cee1814011 100644
--- a/src/components/views/rooms/RoomHeader.js
+++ b/src/components/views/rooms/RoomHeader.js
@@ -239,7 +239,9 @@ module.exports = React.createClass({
);
}
- let e2eIcon = this.props.e2eStatus ? : undefined;
+ const e2eIcon = this.props.e2eStatus ?
+ :
+ undefined;
if (this.props.onCancelClick) {
cancelButton = ;