Skip to content

Commit

Permalink
refactor(router): remove NgProbeToken provider
Browse files Browse the repository at this point in the history
`NgProbeToken` serves no purpose since the drop of VE.
  • Loading branch information
JeanMeche committed Aug 16, 2023
1 parent 3451fc1 commit 00ffe67
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/router/src/router_module.ts
Expand Up @@ -55,10 +55,6 @@ export const ROUTER_PROVIDERS: Provider[] = [
[],
];

export function routerNgProbeToken() {
return new NgProbeToken('Router', Router);
}

/**
* @description
*
Expand Down Expand Up @@ -123,7 +119,6 @@ export class RouterModule {
config?.useHash ? provideHashLocationStrategy() : providePathLocationStrategy(),
provideRouterScroller(),
config?.preloadingStrategy ? withPreloading(config.preloadingStrategy).ɵproviders : [],
{provide: NgProbeToken, multi: true, useFactory: routerNgProbeToken},
config?.initialNavigation ? provideInitialNavigation(config) : [],
config?.bindToComponentInputs ? withComponentInputBinding().ɵproviders : [],
provideRouterInitializer(),
Expand Down

0 comments on commit 00ffe67

Please sign in to comment.