Added team page
This commit is contained in:
@@ -3,6 +3,7 @@ import { Login, Logout, ResetPassword, ForgotPassword, ConfirmEmail, ProtectedRo
|
||||
import { Home } from './Home'
|
||||
import { Profile } from './Profile'
|
||||
import { Users } from './Users'
|
||||
import { Teams } from './Teams'
|
||||
import { HeaderButton, HeaderText, Column, Row, Text, Box } from 'ui'
|
||||
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'
|
||||
import logoImage from 'images/logo.png'
|
||||
@@ -99,7 +100,7 @@ export class App extends Component {
|
||||
<Route exact path='/forgot-password' component={ForgotPassword} />
|
||||
<ProtectedRoute exact path='/profile' render={props => (<Profile {...props} changeTitle={this.handleChangeTitle} />)} />
|
||||
<ProtectedRoute exact admin path='/users' render={props => (<Users {...props} changeTitle={this.handleChangeTitle} />)} />
|
||||
<ProtectedRoute exact admin path='/teams' component={Users} />
|
||||
<ProtectedRoute exact admin path='/teams' render={props => (<Teams {...props} changeTitle={this.handleChangeTitle} />)} />
|
||||
<ProtectedRoute exact admin path='/system' component={Users} />
|
||||
<ProtectedRoute exact admin path='/home' render={props => (<Home {...props} changeTitle={this.handleChangeTitle} />)} />
|
||||
<DefaultRoute />
|
||||
|
||||
Reference in New Issue
Block a user