Skip to content

Commit

Permalink
fix(preload-langs): 🐛 provide in root injector (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
Owain94 authored Dec 8, 2023
1 parent dc7d62c commit 0f99ecc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const TRANSLOCO_PRELOAD_LANGUAGES = new InjectionToken<string[]>(
'Languages to be preloaded'
);

@Injectable()
@Injectable({ providedIn: 'root' })
export class TranslocoPreloadLangsService implements OnDestroy {
private readonly idleCallbackId: number | undefined;
private subscription: Subscription | null = null;
Expand Down

0 comments on commit 0f99ecc

Please sign in to comment.