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/AuthLayoutContainer.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/AuthLayoutContainer.js')
-rw-r--r-- | src/containers/auth/AuthLayoutContainer.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/auth/AuthLayoutContainer.js b/src/containers/auth/AuthLayoutContainer.js index aa36e3969..e6d6dcf8a 100644 --- a/src/containers/auth/AuthLayoutContainer.js +++ b/src/containers/auth/AuthLayoutContainer.js | |||
@@ -14,8 +14,6 @@ import AppLoader from '../../components/ui/AppLoader'; | |||
14 | import { oneOrManyChildElements } from '../../prop-types'; | 14 | import { oneOrManyChildElements } from '../../prop-types'; |
15 | import FeaturesStore from '../../stores/FeaturesStore'; | 15 | import FeaturesStore from '../../stores/FeaturesStore'; |
16 | 16 | ||
17 | @inject('stores', 'actions') | ||
18 | @observer | ||
19 | class AuthLayoutContainer extends Component { | 17 | class AuthLayoutContainer extends Component { |
20 | static propTypes = { | 18 | static propTypes = { |
21 | children: oneOrManyChildElements.isRequired, | 19 | children: oneOrManyChildElements.isRequired, |
@@ -71,7 +69,7 @@ class AuthLayoutContainer extends Component { | |||
71 | } | 69 | } |
72 | } | 70 | } |
73 | 71 | ||
74 | AuthLayoutContainer.wrappedComponent.propTypes = { | 72 | AuthLayoutContainer.propTypes = { |
75 | stores: PropTypes.shape({ | 73 | stores: PropTypes.shape({ |
76 | app: PropTypes.instanceOf(AppStore).isRequired, | 74 | app: PropTypes.instanceOf(AppStore).isRequired, |
77 | features: PropTypes.instanceOf(FeaturesStore).isRequired, | 75 | features: PropTypes.instanceOf(FeaturesStore).isRequired, |
@@ -85,4 +83,4 @@ AuthLayoutContainer.wrappedComponent.propTypes = { | |||
85 | }).isRequired, | 83 | }).isRequired, |
86 | }; | 84 | }; |
87 | 85 | ||
88 | export default AuthLayoutContainer; | 86 | export default inject('stores', 'actions')(observer(AuthLayoutContainer)); |