From 35523260036b3e3bc64d3f9e51e08ff0508f6d40 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 17 Oct 2018 16:20:38 +0200 Subject: [PATCH] more lint fixes --- src/Tinter.js | 2 +- src/components/structures/TopLeftMenu.js | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Tinter.js b/src/Tinter.js index cd87d31ca8..de9ae94097 100644 --- a/src/Tinter.js +++ b/src/Tinter.js @@ -155,7 +155,7 @@ class Tinter { tint(primaryColor, secondaryColor, tertiaryColor) { return; - + // eslint-disable-next-line no-unreachable this.currentTint[0] = primaryColor; this.currentTint[1] = secondaryColor; this.currentTint[2] = tertiaryColor; diff --git a/src/components/structures/TopLeftMenu.js b/src/components/structures/TopLeftMenu.js index 586a88666e..5dfa8ed171 100644 --- a/src/components/structures/TopLeftMenu.js +++ b/src/components/structures/TopLeftMenu.js @@ -17,7 +17,6 @@ limitations under the License. import React from 'react'; import PropTypes from 'prop-types'; import sdk from '../../index'; -import dis from '../../dispatcher'; class TopLeftMenu extends React.Component { @@ -30,7 +29,7 @@ class TopLeftMenu extends React.Component { render() { const BaseAvatar = sdk.getComponent('avatars.BaseAvatar'); const avatarHeight = 28; - const name = "My stuff" + const name = "My stuff"; return (
@@ -43,10 +42,10 @@ class TopLeftMenu extends React.Component {
{ name }
- +
); } } -module.exports = TopLeftMenu; \ No newline at end of file +module.exports = TopLeftMenu;