mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 20:28:23 +00:00
Fix TypeScript error in chart.tsx key prop
This commit is contained in:
@@ -260,7 +260,7 @@ function ChartTooltipContent({
|
||||
|
||||
return (
|
||||
<div
|
||||
key={item.dataKey}
|
||||
key={key}
|
||||
className={cn(
|
||||
'[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5',
|
||||
indicator === 'dot' && 'items-center'
|
||||
|
||||
Reference in New Issue
Block a user