mirror of https://github.com/franjsco/tick3t
fix: routes
This commit is contained in:
parent
fca0be999c
commit
84293527fe
|
@ -23,7 +23,8 @@ class Routes extends Component {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<Router>
|
||||
<Router>
|
||||
<Container>
|
||||
<Switch>
|
||||
<Route path="/" exact component={Home} />
|
||||
<Route path="/create" component={CreateTicket} />
|
||||
|
@ -35,6 +36,7 @@ class Routes extends Component {
|
|||
<Route path="/admin/ticket/:ticketId" component={TicketWork} />
|
||||
<Route component={PageNotFound} />
|
||||
</Switch>
|
||||
</Container>
|
||||
{this.props.children}
|
||||
</Router>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue