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/settings/EditServiceScreen.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/settings/EditServiceScreen.js')
-rw-r--r-- | src/containers/settings/EditServiceScreen.js | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/containers/settings/EditServiceScreen.js b/src/containers/settings/EditServiceScreen.js index 77548bdcf..ddf2d2d25 100644 --- a/src/containers/settings/EditServiceScreen.js +++ b/src/containers/settings/EditServiceScreen.js | |||
@@ -3,6 +3,7 @@ import PropTypes from 'prop-types'; | |||
3 | import { inject, observer } from 'mobx-react'; | 3 | import { inject, observer } from 'mobx-react'; |
4 | import { defineMessages, intlShape } from 'react-intl'; | 4 | import { defineMessages, intlShape } from 'react-intl'; |
5 | 5 | ||
6 | import { RouterStore } from 'mobx-react-router'; | ||
6 | import UserStore from '../../stores/UserStore'; | 7 | import UserStore from '../../stores/UserStore'; |
7 | import RecipesStore from '../../stores/RecipesStore'; | 8 | import RecipesStore from '../../stores/RecipesStore'; |
8 | import ServicesStore from '../../stores/ServicesStore'; | 9 | import ServicesStore from '../../stores/ServicesStore'; |
@@ -415,20 +416,8 @@ EditServiceScreen.wrappedComponent.propTypes = { | |||
415 | settings: PropTypes.instanceOf(SettingsStore).isRequired, | 416 | settings: PropTypes.instanceOf(SettingsStore).isRequired, |
416 | features: PropTypes.instanceOf(FeaturesStore).isRequired, | 417 | features: PropTypes.instanceOf(FeaturesStore).isRequired, |
417 | }).isRequired, | 418 | }).isRequired, |
418 | router: PropTypes.shape({ | 419 | router: PropTypes.instanceOf(RouterStore).isRequired, |
419 | params: PropTypes.shape({ | ||
420 | action: PropTypes.string.isRequired, | ||
421 | }).isRequired, | ||
422 | }).isRequired, | ||
423 | actions: PropTypes.shape({ | 420 | actions: PropTypes.shape({ |
424 | service: PropTypes.shape({ | 421 | service: PropTypes.instanceOf(ServicesStore).isRequired, |
425 | createService: PropTypes.func.isRequired, | ||
426 | updateService: PropTypes.func.isRequired, | ||
427 | deleteService: PropTypes.func.isRequired, | ||
428 | openRecipeFile: PropTypes.func.isRequired, | ||
429 | }).isRequired, | ||
430 | // settings: PropTypes.shape({ | ||
431 | // update: PropTypes.func.isRequred, | ||
432 | // }).isRequired, | ||
433 | }).isRequired, | 422 | }).isRequired, |
434 | }; | 423 | }; |