@mx-cartographer/experiences 6.0.22-alpha.san2 → 6.0.22-alpha.san3

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
@@ -21918,10 +21918,7 @@ const H3 = g(() => {
21918
21918
  // Calculate gain/loss
21919
21919
  marketValue: X.market_value || 0,
21920
21920
  description: X.description || ""
21921
- })), u = v.length > 0, H = l.balance, P = v.reduce(
21922
- (X, x) => x.totalGainLoss + X,
21923
- 0
21924
- ), C = H ? P / H * 100 : 0;
21921
+ })), u = v.length > 0, H = l.balance, P = v.length ? v.reduce((X, x) => x.totalGainLoss + X, 0) : 0, C = H ? P / H * 100 : 0;
21925
21922
  return /* @__PURE__ */ I(
21926
21923
  Gi,
21927
21924
  {