Skip to content

Commit 1513d8b

Browse files
committed
Import tidy
1 parent 5bbe2fc commit 1513d8b

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

apps/webapp/app/components/primitives/charts/ChartBar.tsx

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useCallback, useMemo } from "react";
1+
import React, { useCallback } from "react";
22
import {
33
Bar,
44
BarChart,
@@ -11,20 +11,13 @@ import {
1111
type XAxisProps,
1212
type YAxisProps,
1313
} from "recharts";
14-
import {
15-
ChartTooltip,
16-
ChartTooltipContent,
17-
type ChartConfig,
18-
type ChartState,
19-
} from "~/components/primitives/charts/Chart";
20-
import { cn } from "~/utils/cn";
21-
import { ChartBarLoading, ChartBarInvalid, ChartBarNoData } from "./ChartLoading";
14+
import { ChartTooltip, ChartTooltipContent } from "~/components/primitives/charts/Chart";
2215
import { useChartContext } from "./ChartContext";
23-
import { ChartRoot, useHasNoData } from "./ChartRoot";
16+
import { ChartBarInvalid, ChartBarLoading, ChartBarNoData } from "./ChartLoading";
17+
import { useHasNoData } from "./ChartRoot";
2418
// Legend is now rendered by ChartRoot outside the chart container
2519
import { ZoomTooltip, useZoomHandlers } from "./ChartZoom";
2620
import { getBarOpacity } from "./hooks/useHighlightState";
27-
import type { ZoomRange } from "./hooks/useZoomSelection";
2821

2922
//TODO: fix the first and last bars in a stack not having rounded corners
3023

0 commit comments

Comments
 (0)