remove config pass-through

removing this for the time being to giving the config Context a try
This commit is contained in:
Jake McDermott
2019-01-03 18:00:20 -05:00
parent 87101a487d
commit 23e34bcbbe
2 changed files with 2 additions and 3 deletions

View File

@@ -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}
/>
)}
/>