specify unique key to make react happy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
a7f5059aca
commit
a899871d52
|
@ -70,7 +70,7 @@ export default withMatrixClient(React.createClass({
|
||||||
if (this.state.groups) {
|
if (this.state.groups) {
|
||||||
const groupNodes = [];
|
const groupNodes = [];
|
||||||
this.state.groups.forEach((g) => {
|
this.state.groups.forEach((g) => {
|
||||||
groupNodes.push(<GroupTile groupId={g} />);
|
groupNodes.push(<GroupTile key={g} groupId={g} />);
|
||||||
});
|
});
|
||||||
contentHeader = groupNodes.length > 0 ? <h3>{ _t('Your Communities') }</h3> : <div />;
|
contentHeader = groupNodes.length > 0 ? <h3>{ _t('Your Communities') }</h3> : <div />;
|
||||||
content = groupNodes.length > 0 ?
|
content = groupNodes.length > 0 ?
|
||||||
|
|
Loading…
Reference in New Issue