diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-09-13 14:45:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 14:45:46 +0200 |
commit | 537697a6e9757f118d09d9e76362ba1ff617e2c6 (patch) | |
tree | bc55447115e385137684e84697a8c15d2199b8d5 /src/containers/auth/InviteScreen.js | |
parent | Bumped up version to: 5.6.3-nightly.0 [skip ci] (diff) | |
download | ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.gz ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.zst ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.zip |
chore: upgrade intl dependencies (#1920)
Diffstat (limited to 'src/containers/auth/InviteScreen.js')
-rw-r--r-- | src/containers/auth/InviteScreen.js | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/containers/auth/InviteScreen.js b/src/containers/auth/InviteScreen.js index 66afaf7e1..d9d52a57c 100644 --- a/src/containers/auth/InviteScreen.js +++ b/src/containers/auth/InviteScreen.js | |||
@@ -3,16 +3,13 @@ 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 | export default @inject('stores', 'actions') @observer class InviteScreen extends Component { | 6 | @inject('stores', 'actions') |
7 | @observer | ||
8 | class InviteScreen extends Component { | ||
7 | render() { | 9 | render() { |
8 | const { actions } = this.props; | 10 | const { actions } = this.props; |
9 | 11 | ||
10 | return ( | 12 | return <Invite onSubmit={actions.user.invite} embed={false} />; |
11 | <Invite | ||
12 | onSubmit={actions.user.invite} | ||
13 | embed={false} | ||
14 | /> | ||
15 | ); | ||
16 | } | 13 | } |
17 | } | 14 | } |
18 | 15 | ||
@@ -23,3 +20,5 @@ InviteScreen.wrappedComponent.propTypes = { | |||
23 | }).isRequired, | 20 | }).isRequired, |
24 | }).isRequired, | 21 | }).isRequired, |
25 | }; | 22 | }; |
23 | |||
24 | export default InviteScreen; | ||