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