diff options
author | 2021-12-04 10:51:16 +0100 | |
---|---|---|
committer | 2021-12-04 10:51:16 +0100 | |
commit | 11c992b04f3cad6badf0ae86da65f490e31dd359 (patch) | |
tree | 749e63f6ba3e9bea48c186b5d8502d328edfd276 /src/containers/auth/LockedScreen.js | |
parent | 5.6.4-nightly.24 [skip ci] (diff) | |
download | ferdium-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/LockedScreen.js')
-rw-r--r-- | src/containers/auth/LockedScreen.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/auth/LockedScreen.js b/src/containers/auth/LockedScreen.js index 945e41284..87a00800f 100644 --- a/src/containers/auth/LockedScreen.js +++ b/src/containers/auth/LockedScreen.js | |||
@@ -7,8 +7,6 @@ import SettingsStore from '../../stores/SettingsStore'; | |||
7 | import { hash } from '../../helpers/password-helpers'; | 7 | import { hash } from '../../helpers/password-helpers'; |
8 | import UserStore from '../../stores/UserStore'; | 8 | import UserStore from '../../stores/UserStore'; |
9 | 9 | ||
10 | @inject('stores', 'actions') | ||
11 | @observer | ||
12 | class LockedScreen extends Component { | 10 | class LockedScreen extends Component { |
13 | state = { | 11 | state = { |
14 | error: false, | 12 | error: false, |
@@ -76,7 +74,7 @@ class LockedScreen extends Component { | |||
76 | } | 74 | } |
77 | } | 75 | } |
78 | 76 | ||
79 | LockedScreen.wrappedComponent.propTypes = { | 77 | LockedScreen.propTypes = { |
80 | actions: PropTypes.shape({ | 78 | actions: PropTypes.shape({ |
81 | settings: PropTypes.instanceOf(SettingsStore).isRequired, | 79 | settings: PropTypes.instanceOf(SettingsStore).isRequired, |
82 | }).isRequired, | 80 | }).isRequired, |
@@ -86,4 +84,4 @@ LockedScreen.wrappedComponent.propTypes = { | |||
86 | }).isRequired, | 84 | }).isRequired, |
87 | }; | 85 | }; |
88 | 86 | ||
89 | export default LockedScreen; | 87 | export default inject('stores', 'actions')(observer(LockedScreen)); |