We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
loadChildrenHelper
1 parent 2e23f5a commit 759c558Copy full SHA for 759c558
packages/angular/ssr/src/routes/ng-routes.ts
@@ -205,12 +205,7 @@ async function* handleRoute(options: {
205
)
206
: parentInjector;
207
208
- const loadedChildRoutes = await loadChildrenHelper(
209
- route,
210
- compiler,
211
- routeInjector,
212
- ).toPromise();
213
-
+ const loadedChildRoutes = await loadChildrenHelper(route, compiler, routeInjector);
214
if (loadedChildRoutes) {
215
const { routes: childRoutes, injector = routeInjector } = loadedChildRoutes;
216
yield* traverseRoutesConfig({
0 commit comments