diff options
author | 2021-06-23 20:39:18 +0530 | |
---|---|---|
committer | 2021-06-23 17:09:18 +0200 | |
commit | 4d26ffd4805c234e4b0592ae5aa9254e8c3206fd (patch) | |
tree | 6e1e9dd01f53677c40482e45cea3646e952750a9 /src/containers/subscription/SubscriptionFormScreen.js | |
parent | Added new message when the user doesn't find a service (but that is present i... (diff) | |
download | ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.tar.gz ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.tar.zst ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.zip |
Upgraded eslint and fixed all the reported errors. (#1549)
Diffstat (limited to 'src/containers/subscription/SubscriptionFormScreen.js')
-rw-r--r-- | src/containers/subscription/SubscriptionFormScreen.js | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/containers/subscription/SubscriptionFormScreen.js b/src/containers/subscription/SubscriptionFormScreen.js index 2d1f3d0eb..e5c8207be 100644 --- a/src/containers/subscription/SubscriptionFormScreen.js +++ b/src/containers/subscription/SubscriptionFormScreen.js | |||
@@ -7,6 +7,9 @@ import PaymentStore from '../../stores/PaymentStore'; | |||
7 | 7 | ||
8 | import SubscriptionForm from '../../components/subscription/SubscriptionForm'; | 8 | import SubscriptionForm from '../../components/subscription/SubscriptionForm'; |
9 | import TrialForm from '../../components/subscription/TrialForm'; | 9 | import TrialForm from '../../components/subscription/TrialForm'; |
10 | import UserStore from '../../stores/UserStore'; | ||
11 | import FeaturesStore from '../../stores/FeaturesStore'; | ||
12 | import AppStore from '../../stores/AppStore'; | ||
10 | 13 | ||
11 | export default @inject('stores', 'actions') @observer class SubscriptionFormScreen extends Component { | 14 | export default @inject('stores', 'actions') @observer class SubscriptionFormScreen extends Component { |
12 | static propTypes = { | 15 | static propTypes = { |
@@ -84,17 +87,13 @@ export default @inject('stores', 'actions') @observer class SubscriptionFormScre | |||
84 | 87 | ||
85 | SubscriptionFormScreen.wrappedComponent.propTypes = { | 88 | SubscriptionFormScreen.wrappedComponent.propTypes = { |
86 | actions: PropTypes.shape({ | 89 | actions: PropTypes.shape({ |
87 | app: PropTypes.shape({ | 90 | app: PropTypes.instanceOf(AppStore).isRequired, |
88 | openExternalUrl: PropTypes.func.isRequired, | 91 | payment: PropTypes.instanceOf(PaymentStore).isRequired, |
89 | }).isRequired, | 92 | user: PropTypes.instanceOf(UserStore).isRequired, |
90 | payment: PropTypes.shape({ | ||
91 | createHostedPage: PropTypes.func.isRequired, | ||
92 | }).isRequired, | ||
93 | user: PropTypes.shape({ | ||
94 | update: PropTypes.func.isRequired, | ||
95 | }).isRequired, | ||
96 | }).isRequired, | 93 | }).isRequired, |
97 | stores: PropTypes.shape({ | 94 | stores: PropTypes.shape({ |
98 | payment: PropTypes.instanceOf(PaymentStore).isRequired, | 95 | payment: PropTypes.instanceOf(PaymentStore).isRequired, |
96 | user: PropTypes.instanceOf(UserStore).isRequired, | ||
97 | features: PropTypes.instanceOf(FeaturesStore).isRequired, | ||
99 | }).isRequired, | 98 | }).isRequired, |
100 | }; | 99 | }; |