diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js
index 39cf5ece8f..30d67202e7 100644
--- a/src/components/structures/GroupView.js
+++ b/src/components/structures/GroupView.js
@@ -29,7 +29,7 @@ const RoomSummaryType = PropTypes.shape({
name: PropTypes.string,
avatar_url: PropTypes.string,
canonical_alias: PropTypes.string,
- }).isRequired
+ }).isRequired,
});
const UserSummaryType = PropTypes.shape({
@@ -42,8 +42,7 @@ const CategoryRoomList = React.createClass({
displayName: 'CategoryRoomList',
props: {
- rooms: PropTypes.arrayOf(RoomSummaryType).isRequired,
- categoryId: PropTypes.string,
+ rooms: PropTypes.arrayOf(RoomSummaryType).isRequired,
category: PropTypes.shape({
profile: PropTypes.shape({
name: PropTypes.string,
@@ -59,7 +58,7 @@ const CategoryRoomList = React.createClass({
if (this.props.category && this.props.category.profile) {
catHeader =
{this.props.category.profile.name}
;
}
- return
+ return
{catHeader}
{roomNodes}
;
@@ -115,7 +114,6 @@ const RoleUserList = React.createClass({
props: {
users: PropTypes.arrayOf(UserSummaryType).isRequired,
- roleId: PropTypes.string,
role: PropTypes.shape({
profile: PropTypes.shape({
name: PropTypes.string,
@@ -131,7 +129,7 @@ const RoleUserList = React.createClass({
if (this.props.role && this.props.role.profile) {
roleHeader =
{this.props.role.profile.name}
;
}
- return
+ return
{roleHeader}
{userNodes}
;
@@ -243,7 +241,7 @@ export default React.createClass({
}
const categoryRoomNodes = Object.keys(categoryRooms).map((catId) => {
const cat = summary.rooms_section.categories[catId];
- return
;
+ return
;
});
return
@@ -281,7 +279,7 @@ export default React.createClass({
}
const roleUserNodes = Object.keys(roleUsers).map((roleId) => {
const role = summary.users_section.roles[roleId];
- return
;
+ return
;
});
return