add account overview, cleanup
Change-Id: I176af7a7688f38cb30eb7d65fa3e00e55f10da6f
diff --git a/client/src/App.js b/client/src/App.js
index cc1b5bf..bce1842 100644
--- a/client/src/App.js
+++ b/client/src/App.js
@@ -16,6 +16,7 @@
import AccountSelection from "./pages/accountSelection.jsx"
import ServerSetup from "./pages/serverSetup.jsx"
import NotFoundPage from "./pages/404.jsx"
+import LoadingPage from './components/loading'
const App = (props) => {
const history = useHistory()
@@ -36,7 +37,7 @@
console.log(location)
if (!state.loaded) {
- return <Container><CircularProgress /></Container>
+ return <LoadingPage />
} else if (!state.auth.setupComplete) {
return <Switch>
<Route path="/setup" component={ServerSetup} />
@@ -44,7 +45,6 @@
</Switch>
}
return <React.Fragment>
- <CssBaseline />
<Switch>
<Route exact path="/"><Redirect to="/account" /></Route>
<Route path="/account/:accountId/settings" component={AccountSettings} />