Skip to content

Commit 25cfc26

Browse files
committed
fix: dont skip labels for small pie bits
1 parent 690ae86 commit 25cfc26

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Website/components/insightsview/overview/InsightsOverviewView.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const InsightsOverviewView = ({ }: InsightsOverviewViewProps) => {
9696
return acc;
9797
}, {} as Record<string, number>);
9898

99-
return Object.entries(attributeTypeCounts).map(([type, count], index) => ({
99+
return Object.entries(attributeTypeCounts).map(([type, count]) => ({
100100
id: type.replace('Attribute', ''),
101101
label: type.replace('Attribute', ''),
102102
value: count
@@ -374,7 +374,6 @@ const InsightsOverviewView = ({ }: InsightsOverviewViewProps) => {
374374
['darker', 0.2]
375375
]
376376
}}
377-
arcLinkLabelsSkipAngle={10}
378377
arcLinkLabelsTextColor={theme.palette.text.primary}
379378
arcLinkLabelsThickness={2}
380379
arcLinkLabelsColor={{ from: 'color' }}
@@ -424,7 +423,6 @@ const InsightsOverviewView = ({ }: InsightsOverviewViewProps) => {
424423
['darker', 0.2]
425424
]
426425
}}
427-
arcLinkLabelsSkipAngle={10}
428426
arcLinkLabelsTextColor={theme.palette.text.primary}
429427
arcLinkLabelsThickness={2}
430428
arcLinkLabelsColor={{ from: 'color' }}

0 commit comments

Comments
 (0)