diff options
author | 2021-09-13 14:45:46 +0200 | |
---|---|---|
committer | 2021-09-13 14:45:46 +0200 | |
commit | 537697a6e9757f118d09d9e76362ba1ff617e2c6 (patch) | |
tree | bc55447115e385137684e84697a8c15d2199b8d5 /src/containers/settings/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/settings/InviteScreen.js')
-rw-r--r-- | src/containers/settings/InviteScreen.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/containers/settings/InviteScreen.js b/src/containers/settings/InviteScreen.js index 4fdaef08b..f17f6390c 100644 --- a/src/containers/settings/InviteScreen.js +++ b/src/containers/settings/InviteScreen.js | |||
@@ -6,7 +6,9 @@ import Invite from '../../components/auth/Invite'; | |||
6 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 6 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
7 | import UserStore from '../../stores/UserStore'; | 7 | import UserStore from '../../stores/UserStore'; |
8 | 8 | ||
9 | export default @inject('stores', 'actions') @observer class InviteScreen extends Component { | 9 | @inject('stores', 'actions') |
10 | @observer | ||
11 | class InviteScreen extends Component { | ||
10 | componentWillUnmount() { | 12 | componentWillUnmount() { |
11 | this.props.stores.user.inviteRequest.reset(); | 13 | this.props.stores.user.inviteRequest.reset(); |
12 | } | 14 | } |
@@ -20,7 +22,9 @@ export default @inject('stores', 'actions') @observer class InviteScreen extends | |||
20 | <Invite | 22 | <Invite |
21 | onSubmit={actions.user.invite} | 23 | onSubmit={actions.user.invite} |
22 | isLoadingInvite={user.inviteRequest.isExecuting} | 24 | isLoadingInvite={user.inviteRequest.isExecuting} |
23 | isInviteSuccessful={user.inviteRequest.wasExecuted && !user.inviteRequest.isError} | 25 | isInviteSuccessful={ |
26 | user.inviteRequest.wasExecuted && !user.inviteRequest.isError | ||
27 | } | ||
24 | embed | 28 | embed |
25 | /> | 29 | /> |
26 | </ErrorBoundary> | 30 | </ErrorBoundary> |