From 209889210b86bcd6b610657f13fe17c5e8db7251 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 20 Oct 2015 12:36:10 +0100 Subject: [PATCH] Remove unnececessary and wrong null check --- src/skins/vector/views/organisms/MemberList.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/skins/vector/views/organisms/MemberList.js b/src/skins/vector/views/organisms/MemberList.js index 1fd8c4d2..f45d215d 100644 --- a/src/skins/vector/views/organisms/MemberList.js +++ b/src/skins/vector/views/organisms/MemberList.js @@ -35,10 +35,6 @@ module.exports = React.createClass({ makeMemberTiles: function() { var MemberTile = sdk.getComponent("molecules.MemberTile"); - if (!self.memberDict) { - return null; - } - var self = this; return Object.keys(self.memberDict).map(function(userId) { var m = self.memberDict[userId];