Make isInvite default to false

as things are assuming it's optional but it isn't which is causing
a ton of warnings.
pull/4999/head
David Baker 2017-09-07 13:35:13 +01:00
parent d374425a20
commit 76be54b2be
1 changed files with 2 additions and 1 deletions

View File

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