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