sanity 4.4.0-next.26 → 4.4.0-next.27
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/lib/_chunks-cjs/PresentationToolGrantsCheck.js +6 -13
- package/lib/_chunks-cjs/PresentationToolGrantsCheck.js.map +1 -1
- package/lib/_chunks-cjs/pane.js +4 -1
- package/lib/_chunks-cjs/pane.js.map +1 -1
- package/lib/_chunks-cjs/version.js +1 -1
- package/lib/_chunks-es/PresentationToolGrantsCheck.mjs +6 -13
- package/lib/_chunks-es/PresentationToolGrantsCheck.mjs.map +1 -1
- package/lib/_chunks-es/pane.mjs +4 -1
- package/lib/_chunks-es/pane.mjs.map +1 -1
- package/lib/_chunks-es/version.mjs +1 -1
- package/package.json +14 -14
package/lib/_chunks-cjs/pane.js
CHANGED
@@ -6514,7 +6514,10 @@ function useDocumentPaneInspector({
|
|
6514
6514
|
setParams(toggle ? {
|
6515
6515
|
...params,
|
6516
6516
|
inspect: "on"
|
6517
|
-
} :
|
6517
|
+
} : {
|
6518
|
+
...params,
|
6519
|
+
inspect: void 0
|
6520
|
+
});
|
6518
6521
|
}, [inspectOpen, params, setParams]), handleLegacyInspectClose = React.useCallback(() => toggleLegacyInspect(!1), [toggleLegacyInspect]), handleInspectorAction = React.useCallback((item) => {
|
6519
6522
|
if (item.action === "inspect")
|
6520
6523
|
return toggleLegacyInspect(!0), !0;
|