Clean up classnames

pull/21833/head
Jorik Schellekens 2020-07-01 15:15:18 +01:00
parent d2fb30a211
commit ad27dbbfab
1 changed files with 2 additions and 3 deletions

View File

@ -15,7 +15,6 @@ limitations under the License.
*/
import * as React from "react";
import classnames from 'classnames';
import { createRef } from "react";
import TagPanel from "./TagPanel";
import classNames from "classnames";
@ -206,7 +205,7 @@ export default class LeftPanel2 extends React.Component<IProps, IState> {
"mx_LeftPanel2_minimized": this.props.isMinimized,
});
const className = classnames(
const roomListClasses = classNames(
"mx_LeftPanel2_actualRoomListContainer",
"mx_AutoHideScrollbar",
);
@ -218,7 +217,7 @@ export default class LeftPanel2 extends React.Component<IProps, IState> {
{this.renderHeader()}
{this.renderSearchExplore()}
<div
className={className}
className={roomListClasses}
onScroll={this.onScroll}
ref={this.listContainerRef}
>{roomList}</div>