mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
remove config pass-through
removing this for the time being to giving the config Context a try
This commit is contained in:
parent
87101a487d
commit
23e34bcbbe
@ -141,7 +141,7 @@ class App extends Component {
|
||||
}
|
||||
>
|
||||
<ConfigContext.Provider value={config}>
|
||||
{render && render({ routeGroups, config })}
|
||||
{render && render({ routeGroups })}
|
||||
</ConfigContext.Provider>
|
||||
</Page>
|
||||
<About
|
||||
|
||||
@ -251,7 +251,7 @@ export async function main (render, api) {
|
||||
],
|
||||
},
|
||||
]}
|
||||
render={({ routeGroups, config }) => (
|
||||
render={({ routeGroups }) => (
|
||||
routeGroups
|
||||
.reduce((allRoutes, { routes }) => allRoutes.concat(routes), [])
|
||||
.map(({ component: PageComponent, path }) => (
|
||||
@ -262,7 +262,6 @@ export async function main (render, api) {
|
||||
<PageComponent
|
||||
api={api}
|
||||
match={match}
|
||||
{...config}
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user