Put system stuff on home page
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user