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/planSelection/containers/PlanSelectionScreen.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/features/planSelection/containers/PlanSelectionScreen.js') diff --git a/src/features/planSelection/containers/PlanSelectionScreen.js b/src/features/planSelection/containers/PlanSelectionScreen.js index fba65506e..594829c01 100644 --- a/src/features/planSelection/containers/PlanSelectionScreen.js +++ b/src/features/planSelection/containers/PlanSelectionScreen.js @@ -9,6 +9,7 @@ import UserStore from '../../../stores/UserStore'; import PlanSelection from '../components/PlanSelection'; import ErrorBoundary from '../../../components/util/ErrorBoundary'; import { planSelectionStore } from '..'; +import PaymentStore from '../../../stores/PaymentStore'; const messages = defineMessages({ dialogTitle: { @@ -109,15 +110,11 @@ PlanSelectionScreen.wrappedComponent.propTypes = { user: PropTypes.instanceOf(UserStore).isRequired, }).isRequired, actions: PropTypes.shape({ - payment: PropTypes.shape({ - upgradeAccount: PropTypes.func.isRequired, - }), + payment: PropTypes.instanceOf(PaymentStore), planSelection: PropTypes.shape({ downgradeAccount: PropTypes.func.isRequired, hideOverlay: PropTypes.func.isRequired, }), - user: PropTypes.shape({ - activateTrial: PropTypes.func.isRequired, - }), + user: PropTypes.instanceOf(UserStore).isRequired, }).isRequired, }; -- cgit v1.2.3-70-g09d2