Skip to content

Commit

Permalink
chore: fix ci problem
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Oct 5, 2024
1 parent eaffe3a commit a32f3d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/components/ui/chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"> &
Expand All @@ -270,7 +270,7 @@ const ChartLegendContent = React.forwardRef<
nameKey?: string
} & {
selectedItem?: string[]
onItemClick?: (item: Payload) => void
onItemClick?: (item: ChartLegendContentItem) => void
}
>(
(
Expand Down

0 comments on commit a32f3d9

Please sign in to comment.