projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unify use of Collection and Project resource types
[arvados.git]
/
src
/
index.tsx
diff --git
a/src/index.tsx
b/src/index.tsx
index 21ecdab1ca0c5cf70dc84893501154d7601a3235..be01e0a0769505e43b55a9e320bad63949a32bbe 100644
(file)
--- a/
src/index.tsx
+++ b/
src/index.tsx
@@
-23,22
+23,21
@@
const history = createBrowserHistory();
const store = configureStore(history);
store.dispatch(authActions.INIT());
const store = configureStore(history);
store.dispatch(authActions.INIT());
-const rootUuid = authService.getRootUuid();
-store.dispatch<any>(getProjectList(rootUuid));
+store.dispatch<any>(getProjectList(authService.getUuid()));
const App = () =>
<MuiThemeProvider theme={CustomTheme}>
<Provider store={store}>
<ConnectedRouter history={history}>
<div>
const App = () =>
<MuiThemeProvider theme={CustomTheme}>
<Provider store={store}>
<ConnectedRouter history={history}>
<div>
- <Route path="/" component={Workbench}/>
- <Route path="/token" component={ApiToken}/>
+ <Route path="/" component={Workbench}
/>
+ <Route path="/token" component={ApiToken}
/>
</div>
</ConnectedRouter>
</Provider>
</MuiThemeProvider>;
ReactDOM.render(
</div>
</ConnectedRouter>
</Provider>
</MuiThemeProvider>;
ReactDOM.render(
- <App/>,
+ <App
/>,
document.getElementById('root') as HTMLElement
);
document.getElementById('root') as HTMLElement
);