diff options
Diffstat (limited to 'src/containers/auth/SignupScreen.js')
-rw-r--r-- | src/containers/auth/SignupScreen.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/auth/SignupScreen.js b/src/containers/auth/SignupScreen.js index 3b19f3c50..1dd8d0772 100644 --- a/src/containers/auth/SignupScreen.js +++ b/src/containers/auth/SignupScreen.js | |||
@@ -8,8 +8,6 @@ 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 | @inject('stores', 'actions') | ||
12 | @observer | ||
13 | class SignupScreen extends Component { | 11 | class SignupScreen extends Component { |
14 | static propTypes = { | 12 | static propTypes = { |
15 | error: globalErrorPropType.isRequired, | 13 | error: globalErrorPropType.isRequired, |
@@ -36,7 +34,7 @@ class SignupScreen extends Component { | |||
36 | } | 34 | } |
37 | } | 35 | } |
38 | 36 | ||
39 | SignupScreen.wrappedComponent.propTypes = { | 37 | SignupScreen.propTypes = { |
40 | actions: PropTypes.shape({ | 38 | actions: PropTypes.shape({ |
41 | user: PropTypes.instanceOf(UserStore).isRequired, | 39 | user: PropTypes.instanceOf(UserStore).isRequired, |
42 | }).isRequired, | 40 | }).isRequired, |
@@ -46,4 +44,4 @@ SignupScreen.wrappedComponent.propTypes = { | |||
46 | }).isRequired, | 44 | }).isRequired, |
47 | }; | 45 | }; |
48 | 46 | ||
49 | export default SignupScreen; | 47 | export default inject('stores', 'actions')(observer(SignupScreen)); |