Fix lint errors

This commit is contained in:
David Baker 2017-07-07 10:41:59 +01:00
parent 45986306cc
commit 183f45bc1f
3 changed files with 20 additions and 16 deletions

View file

@ -40,7 +40,7 @@ const GroupTile = React.createClass({
render: function() {
return <a onClick={this.onClick} href="#">{this.props.groupId}</a>;
}
},
});
export default WithMatrixClient(React.createClass({
@ -84,12 +84,12 @@ export default WithMatrixClient(React.createClass({
let content;
if (this.state.groups) {
let groupNodes = [];
const groupNodes = [];
this.state.groups.forEach((g) => {
groupNodes.push(
<div key={g}>
<GroupTile groupId={g} />
</div>
</div>,
);
});
content = <div>
@ -117,7 +117,7 @@ export default WithMatrixClient(React.createClass({
{_t(
'Create a group to represent your community! '+
'Define a set of rooms and your own custom homepage '+
'to mark out your space in the Matrix universe.'
'to mark out your space in the Matrix universe.',
)}
</div>
<div className="mx_MyGroups_joinBox">