aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/auth/LoginScreen.js
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-12-04 10:51:16 +0100
committerLibravatar GitHub <noreply@github.com>2021-12-04 10:51:16 +0100
commit11c992b04f3cad6badf0ae86da65f490e31dd359 (patch)
tree749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/containers/auth/LoginScreen.js
parent5.6.4-nightly.24 [skip ci] (diff)
downloadferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.gz
ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.tar.zst
ferdium-app-11c992b04f3cad6badf0ae86da65f490e31dd359.zip
chore: upgrade react-jss to latest (#2302)
Diffstat (limited to 'src/containers/auth/LoginScreen.js')
-rw-r--r--src/containers/auth/LoginScreen.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/auth/LoginScreen.js b/src/containers/auth/LoginScreen.js
index 3f8c67fa8..572a38ea1 100644
--- a/src/containers/auth/LoginScreen.js
+++ b/src/containers/auth/LoginScreen.js
@@ -6,8 +6,6 @@ import UserStore from '../../stores/UserStore';
6 6
7import { globalError as globalErrorPropType } from '../../prop-types'; 7import { globalError as globalErrorPropType } from '../../prop-types';
8 8
9@inject('stores', 'actions')
10@observer
11class LoginScreen extends Component { 9class LoginScreen extends Component {
12 static propTypes = { 10 static propTypes = {
13 error: globalErrorPropType.isRequired, 11 error: globalErrorPropType.isRequired,
@@ -32,7 +30,7 @@ class LoginScreen extends Component {
32 } 30 }
33} 31}
34 32
35LoginScreen.wrappedComponent.propTypes = { 33LoginScreen.propTypes = {
36 actions: PropTypes.shape({ 34 actions: PropTypes.shape({
37 user: PropTypes.instanceOf(UserStore).isRequired, 35 user: PropTypes.instanceOf(UserStore).isRequired,
38 }).isRequired, 36 }).isRequired,
@@ -41,4 +39,4 @@ LoginScreen.wrappedComponent.propTypes = {
41 }).isRequired, 39 }).isRequired,
42}; 40};
43 41
44export default LoginScreen; 42export default inject('stores', 'actions')(observer(LoginScreen));