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.
1 parent 96aa236 commit 6d12aa9Copy full SHA for 6d12aa9
packages/router/src/router_preloader.ts
@@ -105,7 +105,7 @@ export class RouterPreloader {
105
// we already have the config loaded, just recurse
106
if (route.loadChildren && !route.canLoad && route._loadedConfig) {
107
const childConfig = route._loadedConfig;
108
- res.push(this.processRoutes(ngModule, childConfig.routes));
+ res.push(this.processRoutes(childConfig.module, childConfig.routes));
109
110
// no config loaded, fetch the config
111
} else if (route.loadChildren && !route.canLoad) {
0 commit comments