mirror of https://github.com/vector-im/riot-web
Remove redundant thing
parent
eddf33a689
commit
cbc31a6c41
|
@ -254,12 +254,6 @@ async function loadApp() {
|
||||||
UpdateChecker.start();
|
UpdateChecker.start();
|
||||||
|
|
||||||
var MatrixChat = sdk.getComponent('structures.MatrixChat');
|
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(
|
window.matrixChat = ReactDOM.render(
|
||||||
<MatrixChat
|
<MatrixChat
|
||||||
onNewScreen={onNewScreen}
|
onNewScreen={onNewScreen}
|
||||||
|
|
Loading…
Reference in New Issue