X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/77af50a44c54ef12a1d7abb59a0e4cba4284e77e..2d35cbd012daca122052739564120863fefebfce:/src/index.tsx diff --git a/src/index.tsx b/src/index.tsx index 58048784..be01e0a0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -15,26 +15,29 @@ import ApiToken from "./views-components/api-token/api-token"; import authActions from "./store/auth/auth-action"; import { authService } from "./services/services"; import { getProjectList } from "./store/project/project-action"; +import { MuiThemeProvider } from '@material-ui/core/styles'; +import { CustomTheme } from './common/custom-theme'; const history = createBrowserHistory(); const store = configureStore(history); store.dispatch(authActions.INIT()); -const rootUuid = authService.getRootUuid(); -store.dispatch(getProjectList(rootUuid)); +store.dispatch(getProjectList(authService.getUuid())); const App = () => - - -
- - -
-
-
; + + + +
+ + +
+
+
+
; ReactDOM.render( - , + , document.getElementById('root') as HTMLElement );