You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
fix lint
This commit is contained in:
@@ -19,8 +19,6 @@ limitations under the License.
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import sdk from '../../index';
|
import sdk from '../../index';
|
||||||
import { Droppable } from 'react-beautiful-dnd';
|
|
||||||
import { _t } from '../../languageHandler';
|
|
||||||
import dis from '../../dispatcher';
|
import dis from '../../dispatcher';
|
||||||
import Unread from '../../Unread';
|
import Unread from '../../Unread';
|
||||||
import * as RoomNotifs from '../../RoomNotifs';
|
import * as RoomNotifs from '../../RoomNotifs';
|
||||||
@@ -365,9 +363,7 @@ const RoomSubList = React.createClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.state.sortedList.length > 0 || this.props.extraTiles.length > 0) {
|
if (this.state.sortedList.length > 0 || this.props.extraTiles.length > 0) {
|
||||||
|
|
||||||
const subList = this.state.hidden ? undefined : content;
|
const subList = this.state.hidden ? undefined : content;
|
||||||
|
|
||||||
return <div className={"mx_RoomSubList"}>
|
return <div className={"mx_RoomSubList"}>
|
||||||
{this._getHeaderJsx()}
|
{this._getHeaderJsx()}
|
||||||
{subList}
|
{subList}
|
||||||
|
|||||||
Reference in New Issue
Block a user