diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-12-04 10:51:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-04 10:51:16 +0100 |
commit | 11c992b04f3cad6badf0ae86da65f490e31dd359 (patch) | |
tree | 749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/containers/auth/SetupAssistantScreen.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/auth/SetupAssistantScreen.js')
-rw-r--r-- | src/containers/auth/SetupAssistantScreen.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/auth/SetupAssistantScreen.js b/src/containers/auth/SetupAssistantScreen.js index 8cdd95a88..f6392712d 100644 --- a/src/containers/auth/SetupAssistantScreen.js +++ b/src/containers/auth/SetupAssistantScreen.js | |||
@@ -14,8 +14,6 @@ import ServicesStore from '../../stores/ServicesStore'; | |||
14 | import RecipesStore from '../../stores/RecipesStore'; | 14 | import RecipesStore from '../../stores/RecipesStore'; |
15 | import UserStore from '../../stores/UserStore'; | 15 | import UserStore from '../../stores/UserStore'; |
16 | 16 | ||
17 | @inject('stores', 'actions') | ||
18 | @observer | ||
19 | class SetupAssistantScreen extends Component { | 17 | class SetupAssistantScreen extends Component { |
20 | constructor(props) { | 18 | constructor(props) { |
21 | super(props); | 19 | super(props); |
@@ -120,7 +118,7 @@ class SetupAssistantScreen extends Component { | |||
120 | } | 118 | } |
121 | } | 119 | } |
122 | 120 | ||
123 | SetupAssistantScreen.wrappedComponent.propTypes = { | 121 | SetupAssistantScreen.propTypes = { |
124 | stores: PropTypes.shape({ | 122 | stores: PropTypes.shape({ |
125 | services: PropTypes.instanceOf(ServicesStore), | 123 | services: PropTypes.instanceOf(ServicesStore), |
126 | router: PropTypes.instanceOf(RouterStore).isRequired, | 124 | router: PropTypes.instanceOf(RouterStore).isRequired, |
@@ -134,4 +132,4 @@ SetupAssistantScreen.wrappedComponent.propTypes = { | |||
134 | }).isRequired, | 132 | }).isRequired, |
135 | }; | 133 | }; |
136 | 134 | ||
137 | export default SetupAssistantScreen; | 135 | export default inject('stores', 'actions')(observer(SetupAssistantScreen)); |