fix: routes

This commit is contained in:
frab1t 2019-05-18 18:07:29 +02:00
parent fca0be999c
commit 84293527fe
1 changed files with 3 additions and 1 deletions

View File

@ -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>
);