mirror of https://github.com/vector-im/riot-web
Remove unnececessary and wrong null check
parent
93d81d27ba
commit
209889210b
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue