diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index 18b9340b4a..8a93af403b 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -29,7 +29,9 @@ function categoryRoomListNode(rooms, categoryId, category) { return ; }); let catHeader = null; - if (category && category.profile) catHeader =
{category.profile.name}
+ if (category && category.profile) { + catHeader =
{category.profile.name}
; + } return
{catHeader} {roomNodes} @@ -76,7 +78,7 @@ const FeaturedRoom = React.createClass({
{roomNameNode}
; - } + }, }); export default React.createClass({