mirror of
https://github.com/ansible/awx.git
synced 2026-03-14 15:37:29 -02:30
Merge pull request #7244 from ansible/jakemcdermott-remove-auth-props
Remove unneeded auth props Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -55,12 +55,12 @@ function App() {
|
||||
{getRouteConfig(i18n)
|
||||
.flatMap(({ routes }) => routes)
|
||||
.map(({ path, screen: Screen }) => (
|
||||
<ProtectedRoute auth key={path} path={path}>
|
||||
<ProtectedRoute key={path} path={path}>
|
||||
<Screen match={match} />
|
||||
</ProtectedRoute>
|
||||
))
|
||||
.concat(
|
||||
<ProtectedRoute auth key="not-found" path="*">
|
||||
<ProtectedRoute key="not-found" path="*">
|
||||
<NotFound />
|
||||
</ProtectedRoute>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user