mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Make generalCatalogEntities non-observable, as there is no requirement
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi> Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
parent
1c31e9cb30
commit
0bf819a469
@ -3,14 +3,12 @@
|
|||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
import { getInjectable } from "@ogre-tools/injectable";
|
import { getInjectable } from "@ogre-tools/injectable";
|
||||||
import { observable } from "mobx";
|
|
||||||
import { generalCatalogEntityInjectionToken } from "./general-catalog-entity-injection-token";
|
import { generalCatalogEntityInjectionToken } from "./general-catalog-entity-injection-token";
|
||||||
|
|
||||||
const generalCatalogEntitiesInjectable = getInjectable({
|
const generalCatalogEntitiesInjectable = getInjectable({
|
||||||
id: "general-catalog-entities",
|
id: "general-catalog-entities",
|
||||||
|
|
||||||
instantiate: (di) =>
|
instantiate: (di) => di.injectMany(generalCatalogEntityInjectionToken),
|
||||||
observable(di.injectMany(generalCatalogEntityInjectionToken)),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export default generalCatalogEntitiesInjectable;
|
export default generalCatalogEntitiesInjectable;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user