Fix exact routes (#187)

This commit is contained in:
Stan Silvert 2020-10-23 01:52:51 -04:00 committed by GitHub
parent 4195e0fbf3
commit 9fb081e3bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,6 +54,7 @@ export const App = () => {
<Switch>
{routes(() => {}).map((route, i) => (
<Route
exact
key={i}
path={route.path}
component={() => <SecuredRoute route={route} />}