X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/7ee704ab48987ee6223528c5b7526ef246709a4c..b29bd8eeb72369e20317329f63406a2faf3a165d:/src/views/workbench/workbench.tsx

diff --git a/src/views/workbench/workbench.tsx b/src/views/workbench/workbench.tsx
index 25868c38..6f39ac78 100644
--- a/src/views/workbench/workbench.tsx
+++ b/src/views/workbench/workbench.tsx
@@ -16,9 +16,7 @@ import { Route, Switch } from "react-router";
 import { Link } from "react-router-dom";
 
 import { actions as projectActions } from "../../store/project-action";
-import ProjectTree from '../../components/project-tree/project-tree';
-import { TreeItem } from '../../components/tree/tree';
-import { Project } from '../../models/project';
+import ProjectTree, { WorkbenchProps } from '../../components/project-tree/project-tree';
 
 const drawerWidth = 240;
 
@@ -51,11 +49,6 @@ const styles: StyleRulesCallback<CssRules> = (theme: Theme) => ({
     toolbar: theme.mixins.toolbar
 });
 
-interface WorkbenchProps {
-    projects: Array<TreeItem<Project>>;
-    toggleProjectTreeItem: (id: string) => any;
-}
-
 class Workbench extends React.Component<WorkbenchProps & WithStyles<CssRules>> {
     render() {
         const { classes } = this.props;
