fix: routes

This commit is contained in:
frab1t 2019-05-18 14:51:14 +02:00
parent c948bd329c
commit 26d4dd7327
1 changed files with 2 additions and 4 deletions

View File

@ -23,9 +23,7 @@ class Routes extends Component {
render() {
return (
<Router>
{this.props.children}
<Container>
<Router>
<Switch>
<Route path="/" exact component={Home} />
<Route path="/create" component={CreateTicket} />
@ -37,7 +35,7 @@ class Routes extends Component {
<Route path="/admin/ticket/:ticketId" component={TicketWork} />
<Route component={PageNotFound} />
</Switch>
</Container>
{this.props.children}
</Router>
);
}