You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-13 23:41:50 +03:00
Drop a redundant 'else' from RoomView.render, and outdent a load of code
... in the hope of aiding readability slightly
This commit is contained in:
@ -1554,7 +1554,11 @@ module.exports = React.createClass({
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
|
||||||
|
// We have successfully loaded this room, and are not previewing.
|
||||||
|
// Display the "normal" room view.
|
||||||
|
|
||||||
var scrollheader_classes = classNames({
|
var scrollheader_classes = classNames({
|
||||||
mx_RoomView_scrollheader: true,
|
mx_RoomView_scrollheader: true,
|
||||||
loading: this.state.paginating
|
loading: this.state.paginating
|
||||||
@ -1852,6 +1856,5 @@ module.exports = React.createClass({
|
|||||||
{ messageComposer }
|
{ messageComposer }
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user