diff --git a/components/PieChart.tsx b/components/PieChart.tsx index 8eeea0d..30586ae 100644 --- a/components/PieChart.tsx +++ b/components/PieChart.tsx @@ -74,11 +74,11 @@ export function PieSlices({ isLabel, ...props }: PieSlicesProps) { /> - {isLabel ? `${arc.data.category}` : `${arc.data.value}%`} + {isLabel ? `${arc.data.category}` : `${arc.data.value}%`} ); diff --git a/data/mocks.ts b/data/mocks.ts index 5b9827e..e6acbca 100644 --- a/data/mocks.ts +++ b/data/mocks.ts @@ -43,10 +43,10 @@ export const mockPieData = [ }, { category: "Quail", - value: 38, + value: 48, }, { category: "Cuckoo", - value: 20, + value: 10, }, ];