diff --git a/src/components/structures/LoggedInView.js b/src/components/structures/LoggedInView.js
index 9f01b0082b..c4eeb03d5f 100644
--- a/src/components/structures/LoggedInView.js
+++ b/src/components/structures/LoggedInView.js
@@ -221,10 +221,8 @@ export default React.createClass({
case PageTypes.RoomDirectory:
page_element = ;
- if (!this.props.collapse_rhs) right_panel = ;
break;
case PageTypes.HomePage: