From 71c52373f81cace664047edd19d9d289f45a4dff Mon Sep 17 00:00:00 2001 From: Ricardo Cino Date: Thu, 7 Jul 2022 09:31:50 +0200 Subject: chore: Mobx & React-Router upgrade (#406) Co-authored-by: Vijay A --- src/features/workspaces/containers/WorkspacesScreen.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/features/workspaces/containers/WorkspacesScreen.tsx') 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 @@ import { Component } from 'react'; import { inject, observer } from 'mobx-react'; +import { StoresProps } from '../../../@types/ferdium-components.types'; import WorkspacesDashboard from '../components/WorkspacesDashboard'; import ErrorBoundary from '../../../components/util/ErrorBoundary'; import { workspaceStore } from '../index'; @@ -9,15 +10,8 @@ import { getUserWorkspacesRequest, updateWorkspaceRequest, } from '../api'; -import { WorkspacesStore } from '../../../@types/stores.types'; -type Props = { - actions: { - workspaces: WorkspacesStore; - }; -}; - -class WorkspacesScreen extends Component { +class WorkspacesScreen extends Component { render() { const { actions } = this.props; return ( -- cgit v1.2.3-70-g09d2