aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/auth/SignupScreen.js
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-09-13 14:45:46 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-13 14:45:46 +0200
commit537697a6e9757f118d09d9e76362ba1ff617e2c6 (patch)
treebc55447115e385137684e84697a8c15d2199b8d5 /src/containers/auth/SignupScreen.js
parentBumped up version to: 5.6.3-nightly.0 [skip ci] (diff)
downloadferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.gz
ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.zst
ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.zip
chore: upgrade intl dependencies (#1920)
Diffstat (limited to 'src/containers/auth/SignupScreen.js')
-rw-r--r--src/containers/auth/SignupScreen.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/containers/auth/SignupScreen.js b/src/containers/auth/SignupScreen.js
index 38c5dfb43..b20a7fd62 100644
--- a/src/containers/auth/SignupScreen.js
+++ b/src/containers/auth/SignupScreen.js
@@ -8,7 +8,9 @@ import FeaturesStore from '../../stores/FeaturesStore';
8 8
9import { globalError as globalErrorPropType } from '../../prop-types'; 9import { globalError as globalErrorPropType } from '../../prop-types';
10 10
11export default @inject('stores', 'actions') @observer class SignupScreen extends Component { 11@inject('stores', 'actions')
12@observer
13class SignupScreen extends Component {
12 static propTypes = { 14 static propTypes = {
13 error: globalErrorPropType.isRequired, 15 error: globalErrorPropType.isRequired,
14 }; 16 };
@@ -24,7 +26,7 @@ export default @inject('stores', 'actions') @observer class SignupScreen extends
24 26
25 return ( 27 return (
26 <Signup 28 <Signup
27 onSubmit={(values) => this.onSignup(values)} 29 onSubmit={values => this.onSignup(values)}
28 isSubmitting={stores.user.signupRequest.isExecuting} 30 isSubmitting={stores.user.signupRequest.isExecuting}
29 loginRoute={stores.user.loginRoute} 31 loginRoute={stores.user.loginRoute}
30 changeServerRoute={stores.user.changeServerRoute} 32 changeServerRoute={stores.user.changeServerRoute}
@@ -43,3 +45,5 @@ SignupScreen.wrappedComponent.propTypes = {
43 features: PropTypes.instanceOf(FeaturesStore).isRequired, 45 features: PropTypes.instanceOf(FeaturesStore).isRequired,
44 }).isRequired, 46 }).isRequired,
45}; 47};
48
49export default SignupScreen;