mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
Lint
This commit is contained in:
parent
696c72be2b
commit
49ca29e422
1 changed files with 2 additions and 2 deletions
|
@ -147,8 +147,8 @@ export default React.createClass({
|
||||||
|
|
||||||
let featuredRooms = null;
|
let featuredRooms = null;
|
||||||
if (summary.rooms_section.rooms.length > 0) {
|
if (summary.rooms_section.rooms.length > 0) {
|
||||||
let defaultCategoryRooms = [];
|
const defaultCategoryRooms = [];
|
||||||
let categoryRooms = {};
|
const categoryRooms = {};
|
||||||
summary.rooms_section.rooms.forEach((r) => {
|
summary.rooms_section.rooms.forEach((r) => {
|
||||||
if (r.category_id === null) {
|
if (r.category_id === null) {
|
||||||
defaultCategoryRooms.push(r);
|
defaultCategoryRooms.push(r);
|
||||||
|
|
Loading…
Reference in a new issue