fix: add type annotation to PieChart label in marketing-data page
This commit is contained in:
parent
389bfb1794
commit
ce575653f7
|
|
@ -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]} />
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user