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) {