From 5e30468a0080b02f175222e96f29ba53dda6a347 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Wed, 7 Feb 2018 14:48:43 +0000 Subject: [PATCH] Linting --- src/components/views/elements/AppTile.js | 4 ++-- src/components/views/rooms/Stickerpack.js | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/views/elements/AppTile.js b/src/components/views/elements/AppTile.js index c96ce9f775..9d76e3410e 100644 --- a/src/components/views/elements/AppTile.js +++ b/src/components/views/elements/AppTile.js @@ -37,8 +37,6 @@ import dis from '../../../dispatcher'; const ALLOWED_APP_URL_SCHEMES = ['https:', 'http:']; export default class AppTile extends React.Component { - static displayName ='AppTile'; - constructor(props) { super(props); this.state = this._getNewState(props); @@ -579,6 +577,8 @@ export default class AppTile extends React.Component { } } +AppTile.displayName ='AppTile'; + AppTile.propTypes = { id: React.PropTypes.string.isRequired, url: React.PropTypes.string.isRequired, diff --git a/src/components/views/rooms/Stickerpack.js b/src/components/views/rooms/Stickerpack.js index 6a61618b2c..e04098a06b 100644 --- a/src/components/views/rooms/Stickerpack.js +++ b/src/components/views/rooms/Stickerpack.js @@ -25,8 +25,6 @@ import sdk from '../../../index'; import SdkConfig from '../../../SdkConfig'; import ScalarAuthClient from '../../../ScalarAuthClient'; import dis from '../../../dispatcher'; -import TintableSvgButton from '../elements/TintableSvgButton'; - export default class Stickerpack extends React.Component { constructor(props) {