@ohhwells/bridge 0.1.32-next.35 → 0.1.33-next.37
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6531,7 +6531,7 @@ function OhhwellsBridge() {
|
|
|
6531
6531
|
return () => {
|
|
6532
6532
|
cancelled = true;
|
|
6533
6533
|
};
|
|
6534
|
-
}, [subdomain, isEditMode
|
|
6534
|
+
}, [subdomain, isEditMode]);
|
|
6535
6535
|
(0, import_react6.useEffect)(() => {
|
|
6536
6536
|
if (!subdomain || isEditMode) return;
|
|
6537
6537
|
let debounceTimer = null;
|
|
@@ -6568,7 +6568,7 @@ function OhhwellsBridge() {
|
|
|
6568
6568
|
if (debounceTimer) clearTimeout(debounceTimer);
|
|
6569
6569
|
debounceTimer = setTimeout(applyFromCache, 150);
|
|
6570
6570
|
};
|
|
6571
|
-
|
|
6571
|
+
applyFromCache();
|
|
6572
6572
|
observer = new MutationObserver(scheduleApply);
|
|
6573
6573
|
observer.observe(document.body, { childList: true, subtree: true });
|
|
6574
6574
|
return () => {
|