@ohhwells/bridge 0.1.33 → 0.1.34

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 CHANGED
@@ -6429,7 +6429,7 @@ function OhhwellsBridge() {
6429
6429
  return () => {
6430
6430
  cancelled = true;
6431
6431
  };
6432
- }, [subdomain, isEditMode, pathname]);
6432
+ }, [subdomain, isEditMode]);
6433
6433
  (0, import_react6.useEffect)(() => {
6434
6434
  if (!subdomain || isEditMode) return;
6435
6435
  let debounceTimer = null;
@@ -6466,7 +6466,7 @@ function OhhwellsBridge() {
6466
6466
  if (debounceTimer) clearTimeout(debounceTimer);
6467
6467
  debounceTimer = setTimeout(applyFromCache, 150);
6468
6468
  };
6469
- scheduleApply();
6469
+ applyFromCache();
6470
6470
  observer = new MutationObserver(scheduleApply);
6471
6471
  observer.observe(document.body, { childList: true, subtree: true });
6472
6472
  return () => {