fix merge conflict

This commit is contained in:
Matthew Hodgson 2016-08-04 23:45:28 +01:00
commit d0158f5812
6 changed files with 175 additions and 8 deletions

View file

@ -72,7 +72,9 @@ module.exports = React.createClass({
// is also called from the saving code so we must return the correct value here
// if we have it (although this could race if the user saves before we load whether
// the room is published or not).
isRoomPublished: this._originalIsRoomPublished,
// Default to false if it's undefined, otherwise react complains about changing
// components from uncontrolled to controlled
isRoomPublished: this._originalIsRoomPublished || false,
scalar_token: null,
scalar_error: null,
};