@ -78,7 +78,7 @@ export function PieSlices({ isLabel, ...props }: PieSlicesProps<PieChartData>) {
y={isLabel ? centroidY : centroidY + 10}
textAnchor="middle"
>
{isLabel ? `${arc.data.category}` : `${arc.data.value}%`}
</text>
</g>
);