From 23e34bcbbe533d5008748fa8e60282f8dfd7ee5d Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Thu, 3 Jan 2019 18:00:20 -0500 Subject: [PATCH] remove config pass-through removing this for the time being to giving the config Context a try --- src/App.jsx | 2 +- src/index.jsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index a6d2211860..93003c0c8d 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -141,7 +141,7 @@ class App extends Component { } > - {render && render({ routeGroups, config })} + {render && render({ routeGroups })} ( + render={({ routeGroups }) => ( routeGroups .reduce((allRoutes, { routes }) => allRoutes.concat(routes), []) .map(({ component: PageComponent, path }) => ( @@ -262,7 +262,6 @@ export async function main (render, api) { )} />