Put system stuff on home page

This commit is contained in:
John Lyon-Smith
2018-06-04 19:05:14 -07:00
parent e09a8b87de
commit 12574fb354
6 changed files with 206 additions and 260 deletions

View File

@@ -13,7 +13,6 @@ import { Home } from "./Home"
import { Profile } from "./Profile"
import { Users } from "./Users"
import { Teams } from "./Teams"
import { System } from "./System"
import { Header, Column, Footer } from "ui"
import { BrowserRouter, Route, Switch } from "react-router-dom"
import { sizeInfo } from "ui/style"
@@ -84,12 +83,6 @@ export class App extends Component {
/>
<ProtectedRoute exact admin path="/admin/home" component={Home} />
<ProtectedRoute exact admin path="/admin/teams" component={Teams} />
<ProtectedRoute
exact
admin
path="/admin/system"
component={System}
/>
<ProtectedRoute exact admin path="/admin/users" component={Users} />
<DefaultRoute user="/user/profile" admin="/admin/home" />
</Switch>