@ammarkhalidfarooq/dashboard-package 0.6.73 → 0.6.74

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
@@ -1542,7 +1542,7 @@ var buildReportData = function buildReportData() {
1542
1542
  var hero = {
1543
1543
  value: "$".concat(formatNumber(totalRaised)),
1544
1544
  trend: "".concat(formatTrend((_growth$totalRevenue = growth === null || growth === void 0 ? void 0 : growth.totalRevenue) !== null && _growth$totalRevenue !== void 0 ? _growth$totalRevenue : 18), " vs pp"),
1545
- detail: "".concat(passThrough, " \xB7 ").concat(formatNumber(totalDonors), " donors \xB7 $").concat(formatNumber(avgDonation), " avg \xB7 ").concat(formatNumber(totalVisits), " visits")
1545
+ detail: "".concat(passThrough, " \xB7 ").concat(formatNumber(totalDonors), " donors \xB7 $").concat(formatNumber(Number(avgDonation).toFixed(2)), " avg \xB7 ").concat(formatNumber(totalVisits), " visits")
1546
1546
  };
1547
1547
  var metrics = [{
1548
1548
  title: "Net Raised",