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/InviteScreen.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/InviteScreen.js')
-rw-r--r-- | src/containers/auth/InviteScreen.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/auth/InviteScreen.js b/src/containers/auth/InviteScreen.js index e252242ae..fc66227cc 100644 --- a/src/containers/auth/InviteScreen.js +++ b/src/containers/auth/InviteScreen.js | |||
@@ -3,8 +3,6 @@ import PropTypes from 'prop-types'; | |||
3 | import { inject, observer } from 'mobx-react'; | 3 | import { inject, observer } from 'mobx-react'; |
4 | import Invite from '../../components/auth/Invite'; | 4 | import Invite from '../../components/auth/Invite'; |
5 | 5 | ||
6 | @inject('stores', 'actions') | ||
7 | @observer | ||
8 | class InviteScreen extends Component { | 6 | class InviteScreen extends Component { |
9 | render() { | 7 | render() { |
10 | const { actions } = this.props; | 8 | const { actions } = this.props; |
@@ -13,7 +11,7 @@ class InviteScreen extends Component { | |||
13 | } | 11 | } |
14 | } | 12 | } |
15 | 13 | ||
16 | InviteScreen.wrappedComponent.propTypes = { | 14 | InviteScreen.propTypes = { |
17 | actions: PropTypes.shape({ | 15 | actions: PropTypes.shape({ |
18 | user: PropTypes.shape({ | 16 | user: PropTypes.shape({ |
19 | invite: PropTypes.func.isRequired, | 17 | invite: PropTypes.func.isRequired, |
@@ -21,4 +19,4 @@ InviteScreen.wrappedComponent.propTypes = { | |||
21 | }).isRequired, | 19 | }).isRequired, |
22 | }; | 20 | }; |
23 | 21 | ||
24 | export default InviteScreen; | 22 | export default inject('stores', 'actions')(observer(InviteScreen)); |