@schema-element-editor/host-sdk 2.0.2 → 2.0.3
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/dist/index.cjs +0 -4
- package/dist/index.js +1 -1
- package/dist/react.cjs +0 -4
- package/dist/react.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -206,10 +206,6 @@ function useSchemaElementEditor(config) {
|
|
|
206
206
|
}, [getSchema, updateSchema, renderPreview]);
|
|
207
207
|
(0, import_react.useEffect)(() => {
|
|
208
208
|
if (enabled === false) {
|
|
209
|
-
if (bridgeRef.current && typeof bridgeRef.current.cleanup === "function") {
|
|
210
|
-
bridgeRef.current.cleanup();
|
|
211
|
-
bridgeRef.current = null;
|
|
212
|
-
}
|
|
213
209
|
return;
|
|
214
210
|
}
|
|
215
211
|
const proxyConfig = {
|
package/dist/index.js
CHANGED
package/dist/react.cjs
CHANGED
|
@@ -203,10 +203,6 @@ function useSchemaElementEditor(config) {
|
|
|
203
203
|
}, [getSchema, updateSchema, renderPreview]);
|
|
204
204
|
(0, import_react.useEffect)(() => {
|
|
205
205
|
if (enabled === false) {
|
|
206
|
-
if (bridgeRef.current && typeof bridgeRef.current.cleanup === "function") {
|
|
207
|
-
bridgeRef.current.cleanup();
|
|
208
|
-
bridgeRef.current = null;
|
|
209
|
-
}
|
|
210
206
|
return;
|
|
211
207
|
}
|
|
212
208
|
const proxyConfig = {
|
package/dist/react.js
CHANGED