From 409697b35baa64b37e68805ce2ef56a63de8de9c Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 25 Sep 2015 11:46:06 +0100 Subject: [PATCH] Oops, these were just at the wrong scope --- src/skins/vector/views/pages/MatrixChat.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/skins/vector/views/pages/MatrixChat.js b/src/skins/vector/views/pages/MatrixChat.js index da30dffbb..2b912df40 100644 --- a/src/skins/vector/views/pages/MatrixChat.js +++ b/src/skins/vector/views/pages/MatrixChat.js @@ -40,18 +40,18 @@ module.exports = React.createClass({ }, render: function() { - if (this.state.logged_in && this.state.ready) { - var LeftPanel = sdk.getComponent('organisms.LeftPanel'); - var RoomView = sdk.getComponent('organisms.RoomView'); - var RightPanel = sdk.getComponent('organisms.RightPanel'); - var Login = sdk.getComponent('templates.Login'); - var UserSettings = sdk.getComponent('organisms.UserSettings'); - var Register = sdk.getComponent('templates.Register'); - var CreateRoom = sdk.getComponent('organisms.CreateRoom'); - var RoomDirectory = sdk.getComponent('organisms.RoomDirectory'); - var MatrixToolbar = sdk.getComponent('molecules.MatrixToolbar'); - var Notifier = sdk.getComponent('organisms.Notifier'); + var LeftPanel = sdk.getComponent('organisms.LeftPanel'); + var RoomView = sdk.getComponent('organisms.RoomView'); + var RightPanel = sdk.getComponent('organisms.RightPanel'); + var Login = sdk.getComponent('templates.Login'); + var UserSettings = sdk.getComponent('organisms.UserSettings'); + var Register = sdk.getComponent('templates.Register'); + var CreateRoom = sdk.getComponent('organisms.CreateRoom'); + var RoomDirectory = sdk.getComponent('organisms.RoomDirectory'); + var MatrixToolbar = sdk.getComponent('molecules.MatrixToolbar'); + var Notifier = sdk.getComponent('organisms.Notifier'); + if (this.state.logged_in && this.state.ready) { var page_element; var right_panel = "";