From 07799f609fc8bdb2777dafa0d066b96a19cad092 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 19 Oct 2018 12:34:55 +0200 Subject: [PATCH] fix lint --- src/components/structures/RoomSubList.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index 112a9bbb0c..a6117b1a00 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -271,9 +271,6 @@ const RoomSubList = React.createClass({ const subListNotifCount = subListNotifications[0]; const subListNotifHighlight = subListNotifications[1]; - const totalTiles = this.props.list.length + (this.props.extraTiles || []).length; - const roomCount = totalTiles > 0 ? totalTiles : ''; - const chevronClasses = classNames({ 'mx_RoomSubList_chevron': true, 'mx_RoomSubList_chevronRight': this.state.hidden, @@ -319,7 +316,11 @@ const RoomSubList = React.createClass({ let addRoomButton; if (this.props.onAddRoom) { - addRoomButton = (+); + addRoomButton = ( + + + + + ); } const tabindex = this.props.searchFilter === "" ? "0" : "-1";