From 56726ba8e592bc9496f5f6c95ce3211ffd908478 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 8 Jan 2019 12:10:42 +0100 Subject: [PATCH] fix lint --- src/UserActivity.js | 1 + src/components/views/rooms/RoomHeader.js | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/UserActivity.js b/src/UserActivity.js index 4e3667274c..145b23e36e 100644 --- a/src/UserActivity.js +++ b/src/UserActivity.js @@ -44,6 +44,7 @@ class UserActivity { * Can be called multiple times with the same already running timer, which is a NO-OP. * Can be called before the user becomes active, in which case it is only started * later on when the user does become active. + * @param {Timer} timer the timer to use */ timeWhileActive(timer) { // important this happens first diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js index 12258154ef..91ca73dd59 100644 --- a/src/components/views/rooms/RoomHeader.js +++ b/src/components/views/rooms/RoomHeader.js @@ -420,7 +420,11 @@ module.exports = React.createClass({ let toggleRightPanelButton; if (this.props.isGrid) { - toggleRightPanelButton = + toggleRightPanelButton = + ; }