mirror of https://github.com/vector-im/riot-web
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
parent
d374425a20
commit
76be54b2be
|
@ -104,7 +104,8 @@ var RoomSubList = React.createClass({
|
||||||
getDefaultProps: function() {
|
getDefaultProps: function() {
|
||||||
return {
|
return {
|
||||||
onHeaderClick: function() {}, // NOP
|
onHeaderClick: function() {}, // NOP
|
||||||
onShowMoreRooms: function() {} // NOP
|
onShowMoreRooms: function() {}, // NOP
|
||||||
|
isInvite: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue