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/TeamScreen.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/TeamScreen.js')
-rw-r--r-- | src/containers/settings/TeamScreen.js | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/containers/settings/TeamScreen.js b/src/containers/settings/TeamScreen.js index c1360a666..a627a047a 100644 --- a/src/containers/settings/TeamScreen.js +++ b/src/containers/settings/TeamScreen.js | |||
@@ -9,6 +9,7 @@ import SettingsStore from '../../stores/SettingsStore'; | |||
9 | import TeamDashboard from '../../components/settings/team/TeamDashboard'; | 9 | import TeamDashboard from '../../components/settings/team/TeamDashboard'; |
10 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 10 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
11 | import { DEV_API_FRANZ_WEBSITE } from '../../config'; | 11 | import { DEV_API_FRANZ_WEBSITE } from '../../config'; |
12 | import PaymentStore from '../../stores/PaymentStore'; | ||
12 | 13 | ||
13 | export default @inject('stores', 'actions') @observer class TeamScreen extends Component { | 14 | export default @inject('stores', 'actions') @observer class TeamScreen extends Component { |
14 | handleWebsiteLink(route) { | 15 | handleWebsiteLink(route) { |
@@ -47,15 +48,8 @@ TeamScreen.wrappedComponent.propTypes = { | |||
47 | settings: PropTypes.instanceOf(SettingsStore).isRequired, | 48 | settings: PropTypes.instanceOf(SettingsStore).isRequired, |
48 | }).isRequired, | 49 | }).isRequired, |
49 | actions: PropTypes.shape({ | 50 | actions: PropTypes.shape({ |
50 | payment: PropTypes.shape({ | 51 | payment: PropTypes.instanceOf(PaymentStore).isRequired, |
51 | createDashboardUrl: PropTypes.func.isRequired, | 52 | app: PropTypes.instanceOf(AppStore).isRequired, |
52 | }).isRequired, | 53 | user: PropTypes.instanceOf(UserStore).isRequired, |
53 | app: PropTypes.shape({ | ||
54 | openExternalUrl: PropTypes.func.isRequired, | ||
55 | }).isRequired, | ||
56 | user: PropTypes.shape({ | ||
57 | update: PropTypes.func.isRequired, | ||
58 | delete: PropTypes.func.isRequired, | ||
59 | }).isRequired, | ||
60 | }).isRequired, | 54 | }).isRequired, |
61 | }; | 55 | }; |