chore: fix ci problem

This commit is contained in:
moonrailgun 2024-10-06 01:17:51 +08:00
parent eaffe3ab21
commit a32f3d9824

View File

@ -261,7 +261,7 @@ ChartTooltipContent.displayName = "ChartTooltip"
const ChartLegend = RechartsPrimitive.Legend
type Payload = NonNullable<RechartsPrimitive.LegendProps['payload']>[number]
type ChartLegendContentItem = NonNullable<RechartsPrimitive.LegendProps['payload']>[number]
const ChartLegendContent = React.forwardRef<
HTMLDivElement,
React.ComponentProps<"div"> &
@ -270,7 +270,7 @@ const ChartLegendContent = React.forwardRef<
nameKey?: string
} & {
selectedItem?: string[]
onItemClick?: (item: Payload) => void
onItemClick?: (item: ChartLegendContentItem) => void
}
>(
(