diff --git a/packages/router/src/operators/activate_routes.ts b/packages/router/src/operators/activate_routes.ts index 2de203ea4a..a045bfe4a8 100644 --- a/packages/router/src/operators/activate_routes.ts +++ b/packages/router/src/operators/activate_routes.ts @@ -185,10 +185,6 @@ export class ActivateRoutes { // Activate the outlet when it has already been instantiated // Otherwise it will get activated from its `ngOnInit` when instantiated context.outlet.activateWith(future, cmpFactoryResolver); - } else if ((typeof ngDevMode === 'undefined' || ngDevMode) && console && console.warn) { - console.warn( - `A router outlet has not been instantiated during routes activation. URL Segment: '${ - future.snapshot._urlSegment}'`); } this.activateChildRoutes(futureNode, null, context.children);