From 83f697a9a2603204f5a314a76392e5d6737327cd Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 9 Jul 2019 19:01:22 +0100 Subject: [PATCH] lint --- src/FromWidgetPostMessageApi.js | 2 -- src/components/views/dialogs/TermsDialog.js | 1 - src/components/views/elements/ManageIntegsButton.js | 1 - src/components/views/rooms/Stickerpicker.js | 1 - src/components/views/settings/IntegrationsManager.js | 1 - 5 files changed, 6 deletions(-) diff --git a/src/FromWidgetPostMessageApi.js b/src/FromWidgetPostMessageApi.js index 02c5112d81..2d7d860989 100644 --- a/src/FromWidgetPostMessageApi.js +++ b/src/FromWidgetPostMessageApi.js @@ -19,8 +19,6 @@ import URL from 'url'; import dis from './dispatcher'; import WidgetMessagingEndpoint from './WidgetMessagingEndpoint'; import ActiveWidgetStore from './stores/ActiveWidgetStore'; -import sdk from "./index"; -import Modal from "./Modal"; import MatrixClientPeg from "./MatrixClientPeg"; import RoomViewStore from "./stores/RoomViewStore"; import { showIntegrationsManager } from './integrations/integrations'; diff --git a/src/components/views/dialogs/TermsDialog.js b/src/components/views/dialogs/TermsDialog.js index de93957603..e01313e6c4 100644 --- a/src/components/views/dialogs/TermsDialog.js +++ b/src/components/views/dialogs/TermsDialog.js @@ -108,7 +108,6 @@ export default class TermsDialog extends React.Component { render() { const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog'); const DialogButtons = sdk.getComponent('views.elements.DialogButtons'); - const AccessibleButton = sdk.getComponent('views.elements.AccessibleButton'); const rows = []; for (const termsWithService of this.props.termsWithServices) { diff --git a/src/components/views/elements/ManageIntegsButton.js b/src/components/views/elements/ManageIntegsButton.js index e470d42f25..f5b6d75d6c 100644 --- a/src/components/views/elements/ManageIntegsButton.js +++ b/src/components/views/elements/ManageIntegsButton.js @@ -19,7 +19,6 @@ import React from 'react'; import PropTypes from 'prop-types'; import sdk from '../../../index'; import ScalarAuthClient from '../../../ScalarAuthClient'; -import Modal from "../../../Modal"; import { _t } from '../../../languageHandler'; import { showIntegrationsManager } from '../../../integrations/integrations'; diff --git a/src/components/views/rooms/Stickerpicker.js b/src/components/views/rooms/Stickerpicker.js index fe1d4f0f7f..6c48351992 100644 --- a/src/components/views/rooms/Stickerpicker.js +++ b/src/components/views/rooms/Stickerpicker.js @@ -17,7 +17,6 @@ import React from 'react'; import {_t, _td} from '../../../languageHandler'; import AppTile from '../elements/AppTile'; import MatrixClientPeg from '../../../MatrixClientPeg'; -import Modal from '../../../Modal'; import sdk from '../../../index'; import ScalarAuthClient from '../../../ScalarAuthClient'; import dis from '../../../dispatcher'; diff --git a/src/components/views/settings/IntegrationsManager.js b/src/components/views/settings/IntegrationsManager.js index 0f42940a7d..149d66eef6 100644 --- a/src/components/views/settings/IntegrationsManager.js +++ b/src/components/views/settings/IntegrationsManager.js @@ -20,7 +20,6 @@ import PropTypes from 'prop-types'; import sdk from '../../../index'; import { _t } from '../../../languageHandler'; import dis from '../../../dispatcher'; -import ScalarAuthClient from '../../../ScalarAuthClient'; export default class IntegrationsManager extends React.Component { static propTypes = {