This has changed in newer react sdk but in master, it should be state.memberDict

This commit is contained in:
David Baker 2015-10-20 12:41:16 +01:00
parent 209889210b
commit 044c75270f

View file

@ -36,8 +36,8 @@ module.exports = React.createClass({
var MemberTile = sdk.getComponent("molecules.MemberTile"); var MemberTile = sdk.getComponent("molecules.MemberTile");
var self = this; var self = this;
return Object.keys(self.memberDict).map(function(userId) { return Object.keys(self.state.memberDict).map(function(userId) {
var m = self.memberDict[userId]; var m = self.state.memberDict[userId];
return ( return (
<MemberTile key={userId} member={m} ref={userId} /> <MemberTile key={userId} member={m} ref={userId} />
); );