From 4d26ffd4805c234e4b0592ae5aa9254e8c3206fd Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Wed, 23 Jun 2021 20:39:18 +0530 Subject: Upgraded eslint and fixed all the reported errors. (#1549) --- src/features/webControls/containers/WebControlsScreen.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/features/webControls/containers') diff --git a/src/features/webControls/containers/WebControlsScreen.js b/src/features/webControls/containers/WebControlsScreen.js index 56ba60c37..d638b831c 100644 --- a/src/features/webControls/containers/WebControlsScreen.js +++ b/src/features/webControls/containers/WebControlsScreen.js @@ -7,6 +7,7 @@ import WebControls from '../components/WebControls'; import ServicesStore from '../../../stores/ServicesStore'; import Service from '../../../models/Service'; import { SEARCH_ENGINE_URLS } from '../../../config'; +import AppStore from '../../../stores/AppStore'; const URL_EVENTS = [ 'load-commit', @@ -128,11 +129,7 @@ WebControlsScreen.wrappedComponent.propTypes = { services: PropTypes.instanceOf(ServicesStore).isRequired, }).isRequired, actions: PropTypes.shape({ - app: PropTypes.shape({ - openExternalUrl: PropTypes.func.isRequired, - }).isRequired, - service: PropTypes.shape({ - reloadActive: PropTypes.func.isRequired, - }).isRequired, + app: PropTypes.instanceOf(AppStore).isRequired, + service: PropTypes.instanceOf(ServicesStore).isRequired, }).isRequired, }; -- cgit v1.2.3-54-g00ecf