mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
review feedback
This commit is contained in:
parent
ba341c11fb
commit
b4521bc44c
@ -197,6 +197,8 @@ module.exports = React.createClass({
|
||||
window.addEventListener('resize', this.handleResize);
|
||||
this.handleResize();
|
||||
|
||||
// the extra q() ensures that synchronous exceptions hit the same codepath as
|
||||
// asynchronous ones.
|
||||
q().then(() => {
|
||||
return Lifecycle.loadSession({
|
||||
realQueryParams: this.props.realQueryParams,
|
||||
|
Loading…
Reference in New Issue
Block a user