diff options
author | 2022-10-31 16:14:30 +0530 | |
---|---|---|
committer | 2022-10-31 10:44:30 +0000 | |
commit | 87bc593ac72af503171f759fc6e4b1e9e0813039 (patch) | |
tree | 7128adb5cc48ae36104c4d3e6de219b9de1ac446 /src/containers/layout/AppLayoutContainer.tsx | |
parent | Convert web controls & screen to typescript (#722) (diff) | |
download | ferdium-app-87bc593ac72af503171f759fc6e4b1e9e0813039.tar.gz ferdium-app-87bc593ac72af503171f759fc6e4b1e9e0813039.tar.zst ferdium-app-87bc593ac72af503171f759fc6e4b1e9e0813039.zip |
refactor: convert global app to typescript (#723)
Diffstat (limited to 'src/containers/layout/AppLayoutContainer.tsx')
-rw-r--r-- | src/containers/layout/AppLayoutContainer.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/containers/layout/AppLayoutContainer.tsx b/src/containers/layout/AppLayoutContainer.tsx index a5fea52cd..0864fa027 100644 --- a/src/containers/layout/AppLayoutContainer.tsx +++ b/src/containers/layout/AppLayoutContainer.tsx | |||
@@ -13,6 +13,8 @@ import { workspaceStore } from '../../features/workspaces'; | |||
13 | 13 | ||
14 | interface AppLayoutContainerProps extends StoresProps {} | 14 | interface AppLayoutContainerProps extends StoresProps {} |
15 | 15 | ||
16 | @inject('stores', 'actions') | ||
17 | @observer | ||
16 | class AppLayoutContainer extends Component<AppLayoutContainerProps> { | 18 | class AppLayoutContainer extends Component<AppLayoutContainerProps> { |
17 | render(): ReactElement { | 19 | render(): ReactElement { |
18 | const { app, features, services, ui, settings, requests, user, router } = | 20 | const { app, features, services, ui, settings, requests, user, router } = |
@@ -155,4 +157,4 @@ class AppLayoutContainer extends Component<AppLayoutContainerProps> { | |||
155 | } | 157 | } |
156 | } | 158 | } |
157 | 159 | ||
158 | export default inject('stores', 'actions')(observer(AppLayoutContainer)); | 160 | export default AppLayoutContainer; |