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