review feedback

This commit is contained in:
Richard van der Hoff 2016-09-01 22:45:09 +01:00 committed by GitHub
parent ba341c11fb
commit b4521bc44c

View File

@ -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,