diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js
index 5b07459299..23e5833468 100644
--- a/src/components/structures/RoomView.js
+++ b/src/components/structures/RoomView.js
@@ -1596,7 +1596,7 @@ module.exports = React.createClass({
onCancelClick={this.onCancelSearchClick} onSearch={this.onSearch}/>;
} else if (this.state.showingPinned) {
hideCancel = true; // has own cancel
- aux = ;
+ aux = ;
} else if (!myMember || myMember.membership !== "join") {
// We do have a room object for this room, but we're not currently in it.
// We may have a 3rd party invite to it.