Fix exact routes (#187)
This commit is contained in:
parent
4195e0fbf3
commit
9fb081e3bf
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ export const App = () => {
|
|||
<Switch>
|
||||
{routes(() => {}).map((route, i) => (
|
||||
<Route
|
||||
exact
|
||||
key={i}
|
||||
path={route.path}
|
||||
component={() => <SecuredRoute route={route} />}
|
||||
|
|
Loading…
Reference in a new issue