You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Lint
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user