@lobehub/charts 1.7.0 → 1.7.1

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.
@@ -148,7 +148,7 @@ var DonutChart = /*#__PURE__*/forwardRef(function (props, ref) {
148
148
  textAnchor: "middle",
149
149
  x: "50%",
150
150
  y: "50%",
151
- children: donutLabel || typeof activeIndex === 'number' ? valueFormatter(data === null || data === void 0 || (_data = data[activeIndex]) === null || _data === void 0 ? void 0 : _data[category]) : parsedLabelInput
151
+ children: donutLabel || (typeof activeIndex === 'number' ? valueFormatter(data === null || data === void 0 || (_data = data[activeIndex]) === null || _data === void 0 ? void 0 : _data[category]) : parsedLabelInput)
152
152
  }) : null, /*#__PURE__*/_jsx(Pie, {
153
153
  activeIndex: activeIndex,
154
154
  animationDuration: animationDuration,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/charts",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "React modern charts components built on recharts",
5
5
  "keywords": [
6
6
  "lobehub",