@3sc/common-component 0.0.394 → 0.0.396

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.es.js CHANGED
@@ -44739,10 +44739,10 @@ function Dw({
44739
44739
  };
44740
44740
  at(() => {
44741
44741
  const U = k.current;
44742
- if (U)
44742
+ if (!(!U || !u))
44743
44743
  return ot(), U.addEventListener("scroll", ot), () => U.removeEventListener("scroll", ot);
44744
44744
  }, [D]), at(() => {
44745
- if (!V.current || be) return;
44745
+ if (!V.current || be || !u) return;
44746
44746
  const U = new IntersectionObserver(
44747
44747
  ([de]) => {
44748
44748
  de.isIntersecting && (ue(!0), ge(!0), setTimeout(() => {
@@ -44840,7 +44840,7 @@ function Dw({
44840
44840
  u && /* @__PURE__ */ g.jsx("tr", { style: { height: Ve } }),
44841
44841
  tt(Pe),
44842
44842
  Q && /* @__PURE__ */ g.jsx(Eo, { children: /* @__PURE__ */ g.jsx(hs, { colSpan: o.length, children: /* @__PURE__ */ g.jsx(Se, { display: "flex", justifyContent: "center", py: 2, children: /* @__PURE__ */ g.jsx(ga, { size: 24 }) }) }) }),
44843
- /* @__PURE__ */ g.jsx("tr", { ref: V }),
44843
+ u && /* @__PURE__ */ g.jsx("tr", { ref: V }),
44844
44844
  u && /* @__PURE__ */ g.jsx("tr", { style: { height: he } })
44845
44845
  ] })
44846
44846
  ]