@efiche/design 0.2.11 → 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.js
CHANGED
|
@@ -191,7 +191,6 @@ var BarChart = ({
|
|
|
191
191
|
bars.map((bar, i) => {
|
|
192
192
|
var _a, _b;
|
|
193
193
|
const color = (_a = bar.color) != null ? _a : CHART_COLORS[i % CHART_COLORS.length];
|
|
194
|
-
const isLast = i === bars.length - 1;
|
|
195
194
|
return /* @__PURE__ */ jsx3(
|
|
196
195
|
Bar,
|
|
197
196
|
{
|
|
@@ -199,7 +198,6 @@ var BarChart = ({
|
|
|
199
198
|
name: (_b = bar.label) != null ? _b : bar.dataKey,
|
|
200
199
|
fill: color,
|
|
201
200
|
stackId: bar.stackId,
|
|
202
|
-
radius: bar.stackId && !isLast ? [0, 0, 0, 0] : [4, 4, 0, 0],
|
|
203
201
|
isAnimationActive: false
|
|
204
202
|
},
|
|
205
203
|
bar.dataKey
|