mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Remove unnececessary and wrong null check
This commit is contained in:
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
Block a user