1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Correctly mark currentlyInClusterFrame as causedSideEffects

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-12-09 14:51:13 -05:00
parent afac253461
commit 8acb4574db

View File

@ -7,6 +7,7 @@ import { getInjectable } from "@ogre-tools/injectable";
const currentlyInClusterFrameInjectable = getInjectable({ const currentlyInClusterFrameInjectable = getInjectable({
id: "currently-in-cluster-frame", id: "currently-in-cluster-frame",
instantiate: () => !process.isMainFrame, instantiate: () => !process.isMainFrame,
causesSideEffects: true,
}); });
export default currentlyInClusterFrameInjectable; export default currentlyInClusterFrameInjectable;