Skip to content

Commit cbc31a6

Browse files
author
Luke Barnard
committed
Remove redundant thing
1 parent eddf33a commit cbc31a6

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎src/vector/index.js‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,6 @@ async function loadApp() {
254254
UpdateChecker.start();
255255

256256
var MatrixChat = sdk.getComponent('structures.MatrixChat');
257-
258-
// Clone the current location before MatrixChat gets a chance to change it. This
259-
// can be used to go to the correct screen after login
260-
const entryLocation = {};
261-
Object.keys(window.location).forEach((k) => {entryLocation[k] = window.location[k]});
262-
263257
window.matrixChat = ReactDOM.render(
264258
<MatrixChat
265259
onNewScreen={onNewScreen}

0 commit comments

Comments
 (0)