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/ImportScreen.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/ImportScreen.js')
-rw-r--r-- | src/containers/auth/ImportScreen.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/containers/auth/ImportScreen.js b/src/containers/auth/ImportScreen.js index 4a93891d6..9143ef616 100644 --- a/src/containers/auth/ImportScreen.js +++ b/src/containers/auth/ImportScreen.js | |||
@@ -1,6 +1,7 @@ | |||
1 | import React, { Component } from 'react'; | 1 | import React, { Component } from 'react'; |
2 | import PropTypes from 'prop-types'; | 2 | import PropTypes from 'prop-types'; |
3 | import { inject, observer } from 'mobx-react'; | 3 | import { inject, observer } from 'mobx-react'; |
4 | import { RouterStore } from 'mobx-react-router'; | ||
4 | import Import from '../../components/auth/Import'; | 5 | import Import from '../../components/auth/Import'; |
5 | import UserStore from '../../stores/UserStore'; | 6 | import UserStore from '../../stores/UserStore'; |
6 | 7 | ||
@@ -25,11 +26,10 @@ export default @inject('stores', 'actions') @observer class ImportScreen extends | |||
25 | 26 | ||
26 | ImportScreen.wrappedComponent.propTypes = { | 27 | ImportScreen.wrappedComponent.propTypes = { |
27 | actions: PropTypes.shape({ | 28 | actions: PropTypes.shape({ |
28 | user: PropTypes.shape({ | 29 | user: PropTypes.instanceOf(UserStore).isRequired, |
29 | importLegacyServices: PropTypes.func.isRequired, | ||
30 | }).isRequired, | ||
31 | }).isRequired, | 30 | }).isRequired, |
32 | stores: PropTypes.shape({ | 31 | stores: PropTypes.shape({ |
33 | user: PropTypes.instanceOf(UserStore).isRequired, | 32 | user: PropTypes.instanceOf(UserStore).isRequired, |
33 | router: PropTypes.instanceOf(RouterStore).isRequired, | ||
34 | }).isRequired, | 34 | }).isRequired, |
35 | }; | 35 | }; |