diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2021-10-06 22:59:03 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2021-10-06 22:59:03 +0530 |
commit | 5fd7cd12cc62ceb6c4d654b3cb3b536412ed1216 (patch) | |
tree | 10cea6c608baea3481595ed9eb7be63ef03ca6c4 /src/containers/auth/SignupScreen.js | |
parent | Bumped up version to: 5.6.2 (hotfix) (diff) | |
parent | 5.6.3-nightly.25 [skip ci] (diff) | |
download | ferdium-app-5fd7cd12cc62ceb6c4d654b3cb3b536412ed1216.tar.gz ferdium-app-5fd7cd12cc62ceb6c4d654b3cb3b536412ed1216.tar.zst ferdium-app-5fd7cd12cc62ceb6c4d654b3cb3b536412ed1216.zip |
Merge branch 'nightly' into release
Diffstat (limited to 'src/containers/auth/SignupScreen.js')
-rw-r--r-- | src/containers/auth/SignupScreen.js | 8 |
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 | ||
9 | import { globalError as globalErrorPropType } from '../../prop-types'; | 9 | import { globalError as globalErrorPropType } from '../../prop-types'; |
10 | 10 | ||
11 | export default @inject('stores', 'actions') @observer class SignupScreen extends Component { | 11 | @inject('stores', 'actions') |
12 | @observer | ||
13 | class 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 | |||
49 | export default SignupScreen; | ||