diff --git a/src/core/ioc/dependency-injection.ts b/src/core/ioc/dependency-injection.ts index 39eb497..a61e160 100644 --- a/src/core/ioc/dependency-injection.ts +++ b/src/core/ioc/dependency-injection.ts @@ -80,11 +80,6 @@ export async function composeRoot( } export function useContainer() { - console.warn(` - Warning: using a container hook (useContainer) is not recommended. - Could lead to many unwanted side effects. - Use the new Service(s) api function instead. - `); return (...keys: [...V]) => keys.map(key => useContainerRaw().get(key as keyof Dependencies)) as IntoDependencies; }