@ammarkhalidfarooq/dashboard-package 0.4.1 → 0.4.3
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 +2 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5695,7 +5695,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5695
5695
|
_useState2 = _slicedToArray(_useState, 2),
|
|
5696
5696
|
activeMetric = _useState2[0],
|
|
5697
5697
|
setActiveMetric = _useState2[1];
|
|
5698
|
-
var donationTypeData = (apiData === null || apiData === void 0 ? void 0 : apiData.
|
|
5698
|
+
var donationTypeData = (apiData === null || apiData === void 0 ? void 0 : apiData.donationTypeData) || [];
|
|
5699
5699
|
var allCharts = [].concat(_toConsumableArray(primaryCharts), _toConsumableArray(secondaryCharts), _toConsumableArray(tertiaryCharts), _toConsumableArray(quaternaryCharts));
|
|
5700
5700
|
var getExtendedCharts = function getExtendedCharts() {
|
|
5701
5701
|
var charts = _toConsumableArray(allCharts);
|
|
@@ -6077,6 +6077,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
6077
6077
|
trend: selectedInfo.subValue
|
|
6078
6078
|
});
|
|
6079
6079
|
console.log("Donation Type Data", donationTypeData);
|
|
6080
|
+
console.log("API DATA", apiData);
|
|
6080
6081
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
6081
6082
|
children: [/*#__PURE__*/jsx(Box, {
|
|
6082
6083
|
sx: {
|