diff options
author | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-06-23 20:39:18 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 17:09:18 +0200 |
commit | 4d26ffd4805c234e4b0592ae5aa9254e8c3206fd (patch) | |
tree | 6e1e9dd01f53677c40482e45cea3646e952750a9 /src/containers/auth/AuthLayoutContainer.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/auth/AuthLayoutContainer.js')
-rw-r--r-- | src/containers/auth/AuthLayoutContainer.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/containers/auth/AuthLayoutContainer.js b/src/containers/auth/AuthLayoutContainer.js index 883a6ea60..f99a8a73f 100644 --- a/src/containers/auth/AuthLayoutContainer.js +++ b/src/containers/auth/AuthLayoutContainer.js | |||
@@ -7,9 +7,12 @@ import AuthLayout from '../../components/auth/AuthLayout'; | |||
7 | import AppStore from '../../stores/AppStore'; | 7 | import AppStore from '../../stores/AppStore'; |
8 | import UserStore from '../../stores/UserStore'; | 8 | import UserStore from '../../stores/UserStore'; |
9 | import GlobalErrorStore from '../../stores/GlobalErrorStore'; | 9 | import GlobalErrorStore from '../../stores/GlobalErrorStore'; |
10 | import UIStore from '../../stores/UIStore'; | ||
11 | import SettingsStore from '../../stores/SettingsStore'; | ||
10 | import AppLoader from '../../components/ui/AppLoader'; | 12 | import AppLoader from '../../components/ui/AppLoader'; |
11 | 13 | ||
12 | import { oneOrManyChildElements } from '../../prop-types'; | 14 | import { oneOrManyChildElements } from '../../prop-types'; |
15 | import FeaturesStore from '../../stores/FeaturesStore'; | ||
13 | 16 | ||
14 | export default @inject('stores', 'actions') @observer class AuthLayoutContainer extends Component { | 17 | export default @inject('stores', 'actions') @observer class AuthLayoutContainer extends Component { |
15 | static propTypes = { | 18 | static propTypes = { |
@@ -71,12 +74,13 @@ export default @inject('stores', 'actions') @observer class AuthLayoutContainer | |||
71 | AuthLayoutContainer.wrappedComponent.propTypes = { | 74 | AuthLayoutContainer.wrappedComponent.propTypes = { |
72 | stores: PropTypes.shape({ | 75 | stores: PropTypes.shape({ |
73 | app: PropTypes.instanceOf(AppStore).isRequired, | 76 | app: PropTypes.instanceOf(AppStore).isRequired, |
77 | features: PropTypes.instanceOf(FeaturesStore).isRequired, | ||
74 | globalError: PropTypes.instanceOf(GlobalErrorStore).isRequired, | 78 | globalError: PropTypes.instanceOf(GlobalErrorStore).isRequired, |
75 | user: PropTypes.instanceOf(UserStore).isRequired, | 79 | user: PropTypes.instanceOf(UserStore).isRequired, |
80 | ui: PropTypes.instanceOf(UIStore).isRequired, | ||
76 | }).isRequired, | 81 | }).isRequired, |
77 | actions: PropTypes.shape({ | 82 | actions: PropTypes.shape({ |
78 | app: PropTypes.shape({ | 83 | app: PropTypes.instanceOf(AppStore).isRequired, |
79 | healthCheck: PropTypes.func.isRequired, | 84 | settings: PropTypes.instanceOf(SettingsStore).isRequired, |
80 | }).isRequired, | ||
81 | }).isRequired, | 85 | }).isRequired, |
82 | }; | 86 | }; |