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/RecipesScreen.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/RecipesScreen.js')
-rw-r--r-- | src/containers/settings/RecipesScreen.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/settings/RecipesScreen.js b/src/containers/settings/RecipesScreen.js index 7f55e54c5..6b629d3d8 100644 --- a/src/containers/settings/RecipesScreen.js +++ b/src/containers/settings/RecipesScreen.js | |||
@@ -19,8 +19,6 @@ import RecipePreview from '../../models/RecipePreview'; | |||
19 | import AppStore from '../../stores/AppStore'; | 19 | import AppStore from '../../stores/AppStore'; |
20 | import { openPath } from '../../helpers/url-helpers'; | 20 | import { openPath } from '../../helpers/url-helpers'; |
21 | 21 | ||
22 | @inject('stores', 'actions') | ||
23 | @observer | ||
24 | class RecipesScreen extends Component { | 22 | class RecipesScreen extends Component { |
25 | static propTypes = { | 23 | static propTypes = { |
26 | params: PropTypes.shape({ | 24 | params: PropTypes.shape({ |
@@ -182,7 +180,7 @@ class RecipesScreen extends Component { | |||
182 | } | 180 | } |
183 | } | 181 | } |
184 | 182 | ||
185 | RecipesScreen.wrappedComponent.propTypes = { | 183 | RecipesScreen.propTypes = { |
186 | stores: PropTypes.shape({ | 184 | stores: PropTypes.shape({ |
187 | recipePreviews: PropTypes.instanceOf(RecipePreviewsStore).isRequired, | 185 | recipePreviews: PropTypes.instanceOf(RecipePreviewsStore).isRequired, |
188 | recipes: PropTypes.instanceOf(RecipeStore).isRequired, | 186 | recipes: PropTypes.instanceOf(RecipeStore).isRequired, |
@@ -198,4 +196,4 @@ RecipesScreen.wrappedComponent.propTypes = { | |||
198 | }).isRequired, | 196 | }).isRequired, |
199 | }; | 197 | }; |
200 | 198 | ||
201 | export default RecipesScreen; | 199 | export default inject('stores', 'actions')(observer(RecipesScreen)); |