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/auth/WelcomeScreen.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/WelcomeScreen.js')
-rw-r--r-- | src/containers/auth/WelcomeScreen.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/auth/WelcomeScreen.js b/src/containers/auth/WelcomeScreen.js index 7a23d9ba9..18b6b2eda 100644 --- a/src/containers/auth/WelcomeScreen.js +++ b/src/containers/auth/WelcomeScreen.js | |||
@@ -6,8 +6,6 @@ import Welcome from '../../components/auth/Welcome'; | |||
6 | import UserStore from '../../stores/UserStore'; | 6 | import UserStore from '../../stores/UserStore'; |
7 | import RecipePreviewsStore from '../../stores/RecipePreviewsStore'; | 7 | import RecipePreviewsStore from '../../stores/RecipePreviewsStore'; |
8 | 8 | ||
9 | @inject('stores', 'actions') | ||
10 | @observer | ||
11 | class LoginScreen extends Component { | 9 | class LoginScreen extends Component { |
12 | render() { | 10 | render() { |
13 | const { user, recipePreviews } = this.props.stores; | 11 | const { user, recipePreviews } = this.props.stores; |
@@ -23,11 +21,11 @@ class LoginScreen extends Component { | |||
23 | } | 21 | } |
24 | } | 22 | } |
25 | 23 | ||
26 | LoginScreen.wrappedComponent.propTypes = { | 24 | LoginScreen.propTypes = { |
27 | stores: PropTypes.shape({ | 25 | stores: PropTypes.shape({ |
28 | user: PropTypes.instanceOf(UserStore).isRequired, | 26 | user: PropTypes.instanceOf(UserStore).isRequired, |
29 | recipePreviews: PropTypes.instanceOf(RecipePreviewsStore).isRequired, | 27 | recipePreviews: PropTypes.instanceOf(RecipePreviewsStore).isRequired, |
30 | }).isRequired, | 28 | }).isRequired, |
31 | }; | 29 | }; |
32 | 30 | ||
33 | export default LoginScreen; | 31 | export default inject('stores', 'actions')(observer(LoginScreen)); |