fix: add type annotation to PieChart label in marketing-data page

This commit is contained in:
soufiane 2025-11-18 00:19:33 +01:00
parent 389bfb1794
commit ce575653f7

View File

@ -305,7 +305,7 @@ export default function MarketingPage() {
cx="50%"
cy="50%"
outerRadius={100}
label={(entry) => `${entry.gender}: ${entry.count}`}
label={(entry: any) => `${entry.gender}: ${entry.count}`}
>
{stats.byGender.map((entry, index) => (
<Cell key={`cell-${index}`} fill={COLORS[index % COLORS.length]} />