@ammarkhalidfarooq/dashboard-package 0.6.121 → 0.6.122
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.cjs.js +7 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +7 -8
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -19599,9 +19599,9 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19599
19599
|
_ref$numberOfDays = _ref.numberOfDays,
|
|
19600
19600
|
numberOfDays = _ref$numberOfDays === void 0 ? 30 : _ref$numberOfDays;
|
|
19601
19601
|
var _useState = useState("Total Raised"),
|
|
19602
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
19603
|
-
|
|
19604
|
-
|
|
19602
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
19603
|
+
_useState2[0];
|
|
19604
|
+
_useState2[1];
|
|
19605
19605
|
var daysLabel = "".concat(numberOfDays, " day").concat(numberOfDays === 1 ? "" : "s");
|
|
19606
19606
|
var overview = (apiData === null || apiData === void 0 ? void 0 : apiData.overview) || {};
|
|
19607
19607
|
var overviewGrowth = (overview === null || overview === void 0 ? void 0 : overview.growthPercentage) || {};
|
|
@@ -19830,11 +19830,10 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19830
19830
|
value: metricInfo[title].value,
|
|
19831
19831
|
caption: metricInfo[title].subValue,
|
|
19832
19832
|
icon: metricInfo[title].icon,
|
|
19833
|
-
error: metricInfo[title].error
|
|
19834
|
-
active
|
|
19835
|
-
onClick
|
|
19836
|
-
|
|
19837
|
-
},
|
|
19833
|
+
error: metricInfo[title].error
|
|
19834
|
+
// active={activeMetric === title}
|
|
19835
|
+
// onClick={() => setActiveMetric(title)}
|
|
19836
|
+
,
|
|
19838
19837
|
sx: metricInfo[title].error ? {
|
|
19839
19838
|
border: "2px solid #ef4444",
|
|
19840
19839
|
bgcolor: "#fffafa"
|