From cbc31a6c418c4b87878b74f915e5fdefec9f8ed7 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 9 Mar 2017 10:03:23 +0000 Subject: [PATCH] Remove redundant thing --- src/vector/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/vector/index.js b/src/vector/index.js index 892d9086..6fb6506d 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -254,12 +254,6 @@ async function loadApp() { UpdateChecker.start(); var MatrixChat = sdk.getComponent('structures.MatrixChat'); - - // Clone the current location before MatrixChat gets a chance to change it. This - // can be used to go to the correct screen after login - const entryLocation = {}; - Object.keys(window.location).forEach((k) => {entryLocation[k] = window.location[k]}); - window.matrixChat = ReactDOM.render(