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/layout | |
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/layout')
-rw-r--r-- | src/containers/layout/AppLayoutContainer.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/containers/layout/AppLayoutContainer.js b/src/containers/layout/AppLayoutContainer.js index 50a28803f..9b0edc85e 100644 --- a/src/containers/layout/AppLayoutContainer.js +++ b/src/containers/layout/AppLayoutContainer.js | |||
@@ -24,8 +24,6 @@ import WorkspaceDrawer from '../../features/workspaces/components/WorkspaceDrawe | |||
24 | import { workspaceStore } from '../../features/workspaces'; | 24 | import { workspaceStore } from '../../features/workspaces'; |
25 | import WorkspacesStore from '../../features/workspaces/store'; | 25 | import WorkspacesStore from '../../features/workspaces/store'; |
26 | 26 | ||
27 | @inject('stores', 'actions') | ||
28 | @observer | ||
29 | class AppLayoutContainer extends Component { | 27 | class AppLayoutContainer extends Component { |
30 | static defaultProps = { | 28 | static defaultProps = { |
31 | children: null, | 29 | children: null, |
@@ -171,7 +169,7 @@ class AppLayoutContainer extends Component { | |||
171 | } | 169 | } |
172 | } | 170 | } |
173 | 171 | ||
174 | AppLayoutContainer.wrappedComponent.propTypes = { | 172 | AppLayoutContainer.propTypes = { |
175 | stores: PropTypes.shape({ | 173 | stores: PropTypes.shape({ |
176 | services: PropTypes.instanceOf(ServicesStore).isRequired, | 174 | services: PropTypes.instanceOf(ServicesStore).isRequired, |
177 | features: PropTypes.instanceOf(FeaturesStore).isRequired, | 175 | features: PropTypes.instanceOf(FeaturesStore).isRequired, |
@@ -194,4 +192,4 @@ AppLayoutContainer.wrappedComponent.propTypes = { | |||
194 | children: oneOrManyChildElements, | 192 | children: oneOrManyChildElements, |
195 | }; | 193 | }; |
196 | 194 | ||
197 | export default AppLayoutContainer; | 195 | export default inject('stores', 'actions')(observer(AppLayoutContainer)); |