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/auth/LoginScreen.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/auth/LoginScreen.js')
-rw-r--r-- | src/containers/auth/LoginScreen.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/containers/auth/LoginScreen.js b/src/containers/auth/LoginScreen.js index e636f99e0..d24eb1d22 100644 --- a/src/containers/auth/LoginScreen.js +++ b/src/containers/auth/LoginScreen.js | |||
@@ -6,7 +6,9 @@ import UserStore from '../../stores/UserStore'; | |||
6 | 6 | ||
7 | import { globalError as globalErrorPropType } from '../../prop-types'; | 7 | import { globalError as globalErrorPropType } from '../../prop-types'; |
8 | 8 | ||
9 | export default @inject('stores', 'actions') @observer class LoginScreen extends Component { | 9 | @inject('stores', 'actions') |
10 | @observer | ||
11 | class LoginScreen extends Component { | ||
10 | static propTypes = { | 12 | static propTypes = { |
11 | error: globalErrorPropType.isRequired, | 13 | error: globalErrorPropType.isRequired, |
12 | }; | 14 | }; |
@@ -18,7 +20,9 @@ export default @inject('stores', 'actions') @observer class LoginScreen extends | |||
18 | onSubmit={actions.user.login} | 20 | onSubmit={actions.user.login} |
19 | isSubmitting={stores.user.loginRequest.isExecuting} | 21 | isSubmitting={stores.user.loginRequest.isExecuting} |
20 | isTokenExpired={stores.user.isTokenExpired} | 22 | isTokenExpired={stores.user.isTokenExpired} |
21 | isServerLogout={stores.user.logoutReason === stores.user.logoutReasonTypes.SERVER} | 23 | isServerLogout={ |
24 | stores.user.logoutReason === stores.user.logoutReasonTypes.SERVER | ||
25 | } | ||
22 | signupRoute={stores.user.signupRoute} | 26 | signupRoute={stores.user.signupRoute} |
23 | passwordRoute={stores.user.passwordRoute} | 27 | passwordRoute={stores.user.passwordRoute} |
24 | changeServerRoute={stores.user.changeServerRoute} | 28 | changeServerRoute={stores.user.changeServerRoute} |