diff --git a/apps/marketing/src/app/(marketing)/open/cap-table.tsx b/apps/marketing/src/app/(marketing)/open/cap-table.tsx index e1a0913c1..d5194e5f5 100644 --- a/apps/marketing/src/app/(marketing)/open/cap-table.tsx +++ b/apps/marketing/src/app/(marketing)/open/cap-table.tsx @@ -2,7 +2,7 @@ import { HTMLAttributes, useEffect, useState } from 'react'; -import { Cell, Pie, PieChart, Tooltip } from 'recharts'; +import { Cell, Legend, Pie, PieChart, Tooltip } from 'recharts'; import { cn } from '@documenso/ui/lib/utils'; @@ -60,8 +60,8 @@ export const CapTable = ({ className, ...props }: CapTableProps) => { cy="50%" labelLine={false} label={renderCustomizedLabel} - outerRadius={180} - innerRadius={100} + outerRadius={160} + innerRadius={80} fill="#8884d8" dataKey="percentage" > @@ -69,6 +69,11 @@ export const CapTable = ({ className, ...props }: CapTableProps) => { ))} + { + return {value}; + }} + /> { return [`${percent}%`, name || props['name'] || props['payload']['name']];