@monkeyplus/flow 6.0.28 → 6.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -14,7 +14,8 @@ export function useUtils() {
|
|
|
14
14
|
return inject("utils", {});
|
|
15
15
|
}
|
|
16
16
|
export function useSharedContext() {
|
|
17
|
-
|
|
17
|
+
const ctx = inject("context", {});
|
|
18
|
+
return ctx.context?.layout || {};
|
|
18
19
|
}
|
|
19
20
|
export function useGlobal() {
|
|
20
21
|
console.warn('deprecated change to "useSharedContext"');
|