Skip to content

Commit 76be54b

Browse files
committed
Make isInvite default to false
as things are assuming it's optional but it isn't which is causing a ton of warnings.
1 parent d374425 commit 76be54b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/components/structures/RoomSubList.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ var RoomSubList = React.createClass({
104104
getDefaultProps: function() {
105105
return {
106106
onHeaderClick: function() {}, // NOP
107-
onShowMoreRooms: function() {} // NOP
107+
onShowMoreRooms: function() {}, // NOP
108+
isInvite: false,
108109
};
109110
},
110111

0 commit comments

Comments
 (0)