Make isInvite default to false

as things are assuming it's optional but it isn't which is causing
a ton of warnings.
This commit is contained in:
David Baker 2017-09-07 13:35:13 +01:00
parent d374425a20
commit 76be54b2be

View file

@ -104,7 +104,8 @@ var RoomSubList = React.createClass({
getDefaultProps: function() {
return {
onHeaderClick: function() {}, // NOP
onShowMoreRooms: function() {} // NOP
onShowMoreRooms: function() {}, // NOP
isInvite: false,
};
},