@docubook/markdown 2.0.0-beta.2 → 2.0.0-beta.4

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
@@ -41314,8 +41314,9 @@ function QN({ chart: e, id: t, className: n }) {
41314
41314
  lastX: 0,
41315
41315
  lastY: 0
41316
41316
  }), re = f(null);
41317
- o.current = e, c(() => {
41317
+ c(() => {
41318
41318
  if (typeof window > "u" || !e) return;
41319
+ o.current = e, d(null), _(!1);
41319
41320
  let t = !1, n = null, r = null, i = null, c = UN(), l = Promise.resolve();
41320
41321
  function u(e) {
41321
41322
  let n = l.then(() => {
@@ -41370,7 +41371,7 @@ function QN({ chart: e, id: t, className: n }) {
41370
41371
  }), () => {
41371
41372
  t = !0, i && clearTimeout(i), n?.disconnect(), r?.disconnect();
41372
41373
  };
41373
- }, []);
41374
+ }, [e]);
41374
41375
  let ie = (e, t) => y((n) => ({
41375
41376
  ...n,
41376
41377
  x: n.x + e,