You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-22 18:41:57 +03:00
Lint
This commit is contained in:
@ -29,7 +29,9 @@ function categoryRoomListNode(rooms, categoryId, category) {
|
||||
return <FeaturedRoom key={r.room_id} summaryInfo={r} />;
|
||||
});
|
||||
let catHeader = null;
|
||||
if (category && category.profile) catHeader = <div className="mx_GroupView_featuredRooms_category">{category.profile.name}</div>
|
||||
if (category && category.profile) {
|
||||
catHeader = <div className="mx_GroupView_featuredRooms_category">{category.profile.name}</div>;
|
||||
}
|
||||
return <div key={categoryId}>
|
||||
{catHeader}
|
||||
{roomNodes}
|
||||
@ -76,7 +78,7 @@ const FeaturedRoom = React.createClass({
|
||||
<RoomAvatar oobData={oobData} width={64} height={64} />
|
||||
<div className="mx_GroupView_featuredRoom_name">{roomNameNode}</div>
|
||||
</AccessibleButton>;
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
export default React.createClass({
|
||||
|
Reference in New Issue
Block a user