@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.js CHANGED
@@ -6381,7 +6381,7 @@ function OhhwellsBridge() {
6381
6381
  return () => {
6382
6382
  cancelled = true;
6383
6383
  };
6384
- }, [subdomain, isEditMode, pathname]);
6384
+ }, [subdomain, isEditMode]);
6385
6385
  useEffect3(() => {
6386
6386
  if (!subdomain || isEditMode) return;
6387
6387
  let debounceTimer = null;
@@ -6418,7 +6418,7 @@ function OhhwellsBridge() {
6418
6418
  if (debounceTimer) clearTimeout(debounceTimer);
6419
6419
  debounceTimer = setTimeout(applyFromCache, 150);
6420
6420
  };
6421
- scheduleApply();
6421
+ applyFromCache();
6422
6422
  observer = new MutationObserver(scheduleApply);
6423
6423
  observer.observe(document.body, { childList: true, subtree: true });
6424
6424
  return () => {