diff options
author | 2022-05-08 21:00:17 -0500 | |
---|---|---|
committer | 2022-05-08 22:19:29 -0400 | |
commit | db25991927e9b74eda2f3a9df5d01908abc04208 (patch) | |
tree | 28b82e6e50512ceecdae4e6d2ddec50f0c7835b5 /src/containers/auth/PasswordScreen.js | |
parent | New Crowdin updates (#119) [skip ci] (diff) | |
download | ferdium-app-db25991927e9b74eda2f3a9df5d01908abc04208.tar.gz ferdium-app-db25991927e9b74eda2f3a9df5d01908abc04208.tar.zst ferdium-app-db25991927e9b74eda2f3a9df5d01908abc04208.zip |
Converted some javascript files to typescript
Diffstat (limited to 'src/containers/auth/PasswordScreen.js')
-rw-r--r-- | src/containers/auth/PasswordScreen.js | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/containers/auth/PasswordScreen.js b/src/containers/auth/PasswordScreen.js deleted file mode 100644 index 4b2c1b4a2..000000000 --- a/src/containers/auth/PasswordScreen.js +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | import { Component } from 'react'; | ||
2 | import PropTypes from 'prop-types'; | ||
3 | import { inject, observer } from 'mobx-react'; | ||
4 | import Password from '../../components/auth/Password'; | ||
5 | import UserStore from '../../stores/UserStore'; | ||
6 | |||
7 | class PasswordScreen extends Component { | ||
8 | render() { | ||
9 | const { actions, stores } = this.props; | ||
10 | |||
11 | return ( | ||
12 | <Password | ||
13 | onSubmit={actions.user.retrievePassword} | ||
14 | isSubmitting={stores.user.passwordRequest.isExecuting} | ||
15 | signupRoute={stores.user.signupRoute} | ||
16 | loginRoute={stores.user.loginRoute} | ||
17 | status={stores.user.actionStatus} | ||
18 | /> | ||
19 | ); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | PasswordScreen.propTypes = { | ||
24 | actions: PropTypes.shape({ | ||
25 | user: PropTypes.instanceOf(UserStore).isRequired, | ||
26 | }).isRequired, | ||
27 | stores: PropTypes.shape({ | ||
28 | user: PropTypes.instanceOf(UserStore).isRequired, | ||
29 | }).isRequired, | ||
30 | }; | ||
31 | |||
32 | export default inject('stores', 'actions')(observer(PasswordScreen)); | ||