@mx-cartographer/experiences 5.3.1-alpha.mega14 → 5.3.1-alpha.mega15
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 +2 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5168,7 +5168,7 @@ const Pe = () => {
|
|
|
5168
5168
|
width: a = "100%",
|
|
5169
5169
|
zeroState: c = /* @__PURE__ */ e(Df, {})
|
|
5170
5170
|
}) => {
|
|
5171
|
-
const { isLoading: d, sortedTransactions: f } = PA(), E = h.useMemo(() => r ? f : f.filter((y) => !y.accountIsClosed), [
|
|
5171
|
+
const { isLoading: d, sortedTransactions: f } = PA(), E = h.useMemo(() => r ? f : f.filter((y) => !y.accountIsClosed), [r, f]);
|
|
5172
5172
|
console.log(r, JSON.parse(JSON.stringify(E)));
|
|
5173
5173
|
const { setShowInsights: l, toggleSplit: v } = Pe(), { onEvent: u } = K(), H = (y) => {
|
|
5174
5174
|
const x = E.find((w) => w.guid === y);
|
|
@@ -5186,7 +5186,7 @@ const Pe = () => {
|
|
|
5186
5186
|
estimateSize: (y) => Tr + (Nr(y, E) ? Yr : 0),
|
|
5187
5187
|
overscan: 5
|
|
5188
5188
|
});
|
|
5189
|
-
return h.useEffect(() => p.measure, [E, r
|
|
5189
|
+
return h.useEffect(() => p.measure, [E, r]), h.useEffect(() => l(o), [o]), console.log(p.getVirtualItems().length), /* @__PURE__ */ e(rA, { children: /* @__PURE__ */ e(L, { height: t, overflow: "auto", ref: b, width: a, children: /* @__PURE__ */ s(
|
|
5190
5190
|
L,
|
|
5191
5191
|
{
|
|
5192
5192
|
height: p.getVirtualItems().length === 0 ? "auto" : p.getTotalSize(),
|