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 d3f7669 commit 8d7efd3Copy full SHA for 8d7efd3
packages/angular/src/lib/legacy/router/ns-route-reuse-strategy.ts
@@ -45,7 +45,7 @@ class DetachedStateCache {
45
while (this.cache.length > 0) {
46
const state = <any>this.cache.pop().state;
47
if (!state.componentRef) {
48
- throw new Error('No componentRed found in DetachedRouteHandle');
+ throw new Error('No componentRef found in DetachedRouteHandle');
49
}
50
51
destroyComponentRef(state.componentRef);
0 commit comments