diff options
author | 2021-12-04 10:51:16 +0100 | |
---|---|---|
committer | 2021-12-04 10:51:16 +0100 | |
commit | 11c992b04f3cad6badf0ae86da65f490e31dd359 (patch) | |
tree | 749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/containers/settings/ServicesScreen.js | |
parent | 5.6.4-nightly.24 [skip ci] (diff) | |
download | ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.gz ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.zst ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.zip |
chore: upgrade react-jss to latest (#2302)
Diffstat (limited to 'src/containers/settings/ServicesScreen.js')
-rw-r--r-- | src/containers/settings/ServicesScreen.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/settings/ServicesScreen.js b/src/containers/settings/ServicesScreen.js index a657b6e6c..2970b2a54 100644 --- a/src/containers/settings/ServicesScreen.js +++ b/src/containers/settings/ServicesScreen.js | |||
@@ -10,8 +10,6 @@ import ServiceStore from '../../stores/ServicesStore'; | |||
10 | import ServicesDashboard from '../../components/settings/services/ServicesDashboard'; | 10 | import ServicesDashboard from '../../components/settings/services/ServicesDashboard'; |
11 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 11 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
12 | 12 | ||
13 | @inject('stores', 'actions') | ||
14 | @observer | ||
15 | class ServicesScreen extends Component { | 13 | class ServicesScreen extends Component { |
16 | componentWillUnmount() { | 14 | componentWillUnmount() { |
17 | this.props.actions.service.resetFilter(); | 15 | this.props.actions.service.resetFilter(); |
@@ -57,7 +55,7 @@ class ServicesScreen extends Component { | |||
57 | } | 55 | } |
58 | } | 56 | } |
59 | 57 | ||
60 | ServicesScreen.wrappedComponent.propTypes = { | 58 | ServicesScreen.propTypes = { |
61 | stores: PropTypes.shape({ | 59 | stores: PropTypes.shape({ |
62 | user: PropTypes.instanceOf(UserStore).isRequired, | 60 | user: PropTypes.instanceOf(UserStore).isRequired, |
63 | services: PropTypes.instanceOf(ServiceStore).isRequired, | 61 | services: PropTypes.instanceOf(ServiceStore).isRequired, |
@@ -68,4 +66,4 @@ ServicesScreen.wrappedComponent.propTypes = { | |||
68 | }).isRequired, | 66 | }).isRequired, |
69 | }; | 67 | }; |
70 | 68 | ||
71 | export default ServicesScreen; | 69 | export default inject('stores', 'actions')(observer(ServicesScreen)); |