mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 07:26:03 -03:30
Remove unneeded auth props
This commit is contained in:
@@ -55,12 +55,12 @@ function App() {
|
|||||||
{getRouteConfig(i18n)
|
{getRouteConfig(i18n)
|
||||||
.flatMap(({ routes }) => routes)
|
.flatMap(({ routes }) => routes)
|
||||||
.map(({ path, screen: Screen }) => (
|
.map(({ path, screen: Screen }) => (
|
||||||
<ProtectedRoute auth key={path} path={path}>
|
<ProtectedRoute key={path} path={path}>
|
||||||
<Screen match={match} />
|
<Screen match={match} />
|
||||||
</ProtectedRoute>
|
</ProtectedRoute>
|
||||||
))
|
))
|
||||||
.concat(
|
.concat(
|
||||||
<ProtectedRoute auth key="not-found" path="*">
|
<ProtectedRoute key="not-found" path="*">
|
||||||
<NotFound />
|
<NotFound />
|
||||||
</ProtectedRoute>
|
</ProtectedRoute>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user