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/auth/SetupAssistantScreen.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/SetupAssistantScreen.js')
-rw-r--r-- | src/containers/auth/SetupAssistantScreen.js | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/containers/auth/SetupAssistantScreen.js b/src/containers/auth/SetupAssistantScreen.js index 1c4fa6c22..2a8f2c010 100644 --- a/src/containers/auth/SetupAssistantScreen.js +++ b/src/containers/auth/SetupAssistantScreen.js | |||
@@ -3,6 +3,7 @@ import React, { Component } from 'react'; | |||
3 | import PropTypes from 'prop-types'; | 3 | import PropTypes from 'prop-types'; |
4 | import { inject, observer } from 'mobx-react'; | 4 | import { inject, observer } from 'mobx-react'; |
5 | 5 | ||
6 | import { RouterStore } from 'mobx-react-router'; | ||
6 | import { DEFAULT_TODO_RECIPE_ID, DEFAULT_TODO_SERVICE_NAME } from '../../config'; | 7 | import { DEFAULT_TODO_RECIPE_ID, DEFAULT_TODO_SERVICE_NAME } from '../../config'; |
7 | import { sleep } from '../../helpers/async-helpers'; | 8 | import { sleep } from '../../helpers/async-helpers'; |
8 | import SetupAssistant from '../../components/auth/SetupAssistant'; | 9 | import SetupAssistant from '../../components/auth/SetupAssistant'; |
@@ -116,18 +117,13 @@ export default @inject('stores', 'actions') @observer class SetupAssistantScreen | |||
116 | SetupAssistantScreen.wrappedComponent.propTypes = { | 117 | SetupAssistantScreen.wrappedComponent.propTypes = { |
117 | stores: PropTypes.shape({ | 118 | stores: PropTypes.shape({ |
118 | services: PropTypes.instanceOf(ServicesStore), | 119 | services: PropTypes.instanceOf(ServicesStore), |
120 | router: PropTypes.instanceOf(RouterStore).isRequired, | ||
119 | recipes: PropTypes.instanceOf(RecipesStore), | 121 | recipes: PropTypes.instanceOf(RecipesStore), |
120 | user: PropTypes.instanceOf(UserStore), | 122 | user: PropTypes.instanceOf(UserStore), |
121 | }).isRequired, | 123 | }).isRequired, |
122 | actions: PropTypes.shape({ | 124 | actions: PropTypes.shape({ |
123 | user: PropTypes.shape({ | 125 | user: PropTypes.instanceOf(UserStore).isRequired, |
124 | invite: PropTypes.func.isRequired, | 126 | service: PropTypes.instanceOf(ServicesStore).isRequired, |
125 | }).isRequired, | 127 | recipe: PropTypes.instanceOf(RecipesStore).isRequired, |
126 | service: PropTypes.shape({ | ||
127 | createService: PropTypes.func.isRequired, | ||
128 | }).isRequired, | ||
129 | recipe: PropTypes.shape({ | ||
130 | install: PropTypes.func.isRequired, | ||
131 | }).isRequired, | ||
132 | }).isRequired, | 128 | }).isRequired, |
133 | }; | 129 | }; |