Skip to content

Commit 2fcfd1b

Browse files
style: fix formatting in chart components
1 parent 5f66025 commit 2fcfd1b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/components/pages/landing/hero-chart.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ const chartConfig = {
3737

3838
export function HeroChart() {
3939
return (
40-
<ChartContainer
41-
config={chartConfig}
42-
className="min-h-0 min-w-0"
43-
>
40+
<ChartContainer config={chartConfig} className="min-h-0 min-w-0">
4441
<ComposedChart
4542
data={chartData}
4643
margin={{

src/components/ui/chart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const ChartContainer = React.forwardRef<
5353
ref={ref}
5454
className={cn(
5555
"flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",
56-
"min-h-0 min-w-0",
56+
'min-h-0 min-w-0',
5757
className
5858
)}
5959
{...props}

0 commit comments

Comments
 (0)