@ammarkhalidfarooq/dashboard-package 0.3.12 → 0.3.14

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
@@ -4793,7 +4793,7 @@ var OverallSection = function OverallSection(_ref) {
4793
4793
  var metricInfo = {
4794
4794
  "Total Raised": {
4795
4795
  value: "$".concat(formatNumber(apiData === null || apiData === void 0 ? void 0 : apiData.totalRaisedCard)) || "$240.9K",
4796
- subValue: "".concat(apiData === null || apiData === void 0 || (_apiData$totalRaisedP = apiData.totalRaisedPrev) === null || _apiData$totalRaisedP === void 0 ? void 0 : _apiData$totalRaisedP.toFixed(2), "% vs ").concat(dateName) || "18% vs last month",
4796
+ subValue: "".concat(Number((_apiData$totalRaisedP = apiData === null || apiData === void 0 ? void 0 : apiData.totalRaisedPrev) !== null && _apiData$totalRaisedP !== void 0 ? _apiData$totalRaisedP : 0).toFixed(2), "% vs ").concat(dateName || "last month"),
4797
4797
  label: "Total Revenue",
4798
4798
  icon: PaidOutlined
4799
4799
  },