X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/cf48e928d4d334b0b6434529d7619c616da319f2..a92bb3822b537682ca621df3c05a458b9ae3420b:/src/index.tsx

diff --git a/src/index.tsx b/src/index.tsx
index 5bd1dddb..dacada2e 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -6,12 +6,32 @@ import * as React from 'react';
 import * as ReactDOM from 'react-dom';
 import { Provider } from "react-redux";
 import Workbench from './views/workbench/workbench';
-import store from "./store/store";
+import ProjectList from './components/project-list/project-list';
 import './index.css';
+import { Route, Router } from "react-router";
+import createBrowserHistory from "history/createBrowserHistory";
+import configureStore from "./store/store";
+import { ConnectedRouter } from "react-router-redux";
+
+const history = createBrowserHistory();
+const store = configureStore({
+    projects: [
+        { name: 'Mouse genome', createdAt: '2018-05-01' },
+        { name: 'Human body', createdAt: '2018-05-01' },
+        { name: 'Secret operation', createdAt: '2018-05-01' }
+    ],
+    router: {
+        location: null
+    }
+}, history);
 
 const App = () =>
     <Provider store={store}>
-        <Workbench/>
+        <ConnectedRouter history={history}>
+            <div>
+                <Route path="/" component={Workbench}/>
+            </div>
+        </ConnectedRouter>
     </Provider>;
 
 ReactDOM.render(
