mirror of
https://github.com/ansible/awx.git
synced 2026-01-27 16:41:29 -03: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:
commit
7623257a6c
@ -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>
|
||||
)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user