From 76be54b2be1b9140dcc9034be7c95a6a47d880a9 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 7 Sep 2017 13:35:13 +0100 Subject: [PATCH] Make isInvite default to false as things are assuming it's optional but it isn't which is causing a ton of warnings. --- src/components/structures/RoomSubList.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index da5b120f7..8eb37aa6b 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -104,7 +104,8 @@ var RoomSubList = React.createClass({ getDefaultProps: function() { return { onHeaderClick: function() {}, // NOP - onShowMoreRooms: function() {} // NOP + onShowMoreRooms: function() {}, // NOP + isInvite: false, }; },