You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Lint
This commit is contained in:
@@ -147,8 +147,8 @@ export default React.createClass({
|
||||
|
||||
let featuredRooms = null;
|
||||
if (summary.rooms_section.rooms.length > 0) {
|
||||
let defaultCategoryRooms = [];
|
||||
let categoryRooms = {};
|
||||
const defaultCategoryRooms = [];
|
||||
const categoryRooms = {};
|
||||
summary.rooms_section.rooms.forEach((r) => {
|
||||
if (r.category_id === null) {
|
||||
defaultCategoryRooms.push(r);
|
||||
|
||||
Reference in New Issue
Block a user