diff options
author | 2022-07-07 09:31:50 +0200 | |
---|---|---|
committer | 2022-07-07 09:31:50 +0200 | |
commit | 71c52373f81cace664047edd19d9d289f45a4dff (patch) | |
tree | 69b3f1d45a8b3f1ceab9497ea3c96e9dc18e3166 /src/features/workspaces/containers/WorkspacesScreen.tsx | |
parent | 6.0.0-nightly.91 [skip ci] (diff) | |
download | ferdium-app-71c52373f81cace664047edd19d9d289f45a4dff.tar.gz ferdium-app-71c52373f81cace664047edd19d9d289f45a4dff.tar.zst ferdium-app-71c52373f81cace664047edd19d9d289f45a4dff.zip |
chore: Mobx & React-Router upgrade (#406)
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'src/features/workspaces/containers/WorkspacesScreen.tsx')
-rw-r--r-- | src/features/workspaces/containers/WorkspacesScreen.tsx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/features/workspaces/containers/WorkspacesScreen.tsx b/src/features/workspaces/containers/WorkspacesScreen.tsx index 5b153fb50..d43dc5efa 100644 --- a/src/features/workspaces/containers/WorkspacesScreen.tsx +++ b/src/features/workspaces/containers/WorkspacesScreen.tsx | |||
@@ -1,5 +1,6 @@ | |||
1 | import { Component } from 'react'; | 1 | import { Component } from 'react'; |
2 | import { inject, observer } from 'mobx-react'; | 2 | import { inject, observer } from 'mobx-react'; |
3 | import { StoresProps } from '../../../@types/ferdium-components.types'; | ||
3 | import WorkspacesDashboard from '../components/WorkspacesDashboard'; | 4 | import WorkspacesDashboard from '../components/WorkspacesDashboard'; |
4 | import ErrorBoundary from '../../../components/util/ErrorBoundary'; | 5 | import ErrorBoundary from '../../../components/util/ErrorBoundary'; |
5 | import { workspaceStore } from '../index'; | 6 | import { workspaceStore } from '../index'; |
@@ -9,15 +10,8 @@ import { | |||
9 | getUserWorkspacesRequest, | 10 | getUserWorkspacesRequest, |
10 | updateWorkspaceRequest, | 11 | updateWorkspaceRequest, |
11 | } from '../api'; | 12 | } from '../api'; |
12 | import { WorkspacesStore } from '../../../@types/stores.types'; | ||
13 | 13 | ||
14 | type Props = { | 14 | class WorkspacesScreen extends Component<StoresProps> { |
15 | actions: { | ||
16 | workspaces: WorkspacesStore; | ||
17 | }; | ||
18 | }; | ||
19 | |||
20 | class WorkspacesScreen extends Component<Props> { | ||
21 | render() { | 15 | render() { |
22 | const { actions } = this.props; | 16 | const { actions } = this.props; |
23 | return ( | 17 | return ( |