mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add implementation for injection token
This commit is contained in:
1 parent
4b2b4ad399
commit
eae90f64f5
11 files changed
+82
-100
No files matched your search
@@ -14,6 +14,7 @@ import {
|
||||
import { createContainer } from "@ogre-tools/injectable";
|
||||
import { registerMobX } from "@ogre-tools/injectable-extension-for-mobx";
|
||||
import { registerInjectableReact } from "@ogre-tools/injectable-react";
|
||||
import { metricsFeature } from "@k8slens/metrics";
|
||||
|
||||
const environment = "renderer";
|
||||
|
||||
@@ -24,6 +25,7 @@ runInAction(() => {
|
||||
registerInjectableReact(di);
|
||||
registerLensCore(di, environment);
|
||||
registerFeature(di, applicationFeature);
|
||||
registerFeature(di, metricsFeature);
|
||||
|
||||
autoRegister({
|
||||
di,
|
||||
|
||||
Reference in new issue
Block a user