refactor(core): remove redundant providedIn: 'root' from IDLE_SERVICE

Remove the `providedIn: 'root'` configuration from the `IDLE_SERVICE` token
since it is redundant and does not change the default injection behavior
This commit is contained in:
SkyZeroZx 2026-03-04 14:39:52 -05:00 committed by Andrew Scott
parent 9705ec0386
commit 7b27d4ff11

View file

@ -52,7 +52,6 @@ export interface IdleService {
}
export const IDLE_SERVICE = new InjectionToken<IdleService>(ngDevMode ? 'IDLE_SERVICE' : '', {
providedIn: 'root',
factory: () => new RequestIdleCallbackService(),
});