@efiche/design 0.2.12 → 0.2.13
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 +0 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -237,7 +237,6 @@ var BarChart = ({
|
|
|
237
237
|
bars.map((bar, i) => {
|
|
238
238
|
var _a, _b;
|
|
239
239
|
const color = (_a = bar.color) != null ? _a : CHART_COLORS[i % CHART_COLORS.length];
|
|
240
|
-
const isLast = i === bars.length - 1;
|
|
241
240
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
242
241
|
import_recharts2.Bar,
|
|
243
242
|
{
|
|
@@ -245,7 +244,6 @@ var BarChart = ({
|
|
|
245
244
|
name: (_b = bar.label) != null ? _b : bar.dataKey,
|
|
246
245
|
fill: color,
|
|
247
246
|
stackId: bar.stackId,
|
|
248
|
-
radius: bar.stackId && !isLast ? [0, 0, 0, 0] : [4, 4, 0, 0],
|
|
249
247
|
isAnimationActive: false
|
|
250
248
|
},
|
|
251
249
|
bar.dataKey
|