diff --git a/lib/src/cartesian/hooks/useBarWidth.ts b/lib/src/cartesian/hooks/useBarWidth.ts index 1e324428..23a09904 100644 --- a/lib/src/cartesian/hooks/useBarWidth.ts +++ b/lib/src/cartesian/hooks/useBarWidth.ts @@ -1,6 +1,6 @@ import React from "react"; -import type { ChartBounds, PointsArray } from "lib/src/types"; -import type { RoundedCorners } from "lib/src/utils/createRoundedRectPath"; +import type { ChartBounds, PointsArray } from "../../types"; +import type { RoundedCorners } from "../../utils/createRoundedRectPath"; type Props = { points: PointsArray | PointsArray[]; diff --git a/lib/src/cartesian/hooks/useStackedBarPaths.ts b/lib/src/cartesian/hooks/useStackedBarPaths.ts index 6714c26c..d68a17bf 100644 --- a/lib/src/cartesian/hooks/useStackedBarPaths.ts +++ b/lib/src/cartesian/hooks/useStackedBarPaths.ts @@ -8,8 +8,8 @@ import { import { createRoundedRectPath, type RoundedCorners, -} from "lib/src/utils/createRoundedRectPath"; -import type { ChartBounds, InputFieldType, PointsArray } from "lib/src/types"; +} from "../../utils/createRoundedRectPath"; +import type { ChartBounds, InputFieldType, PointsArray } from "../../types"; import { useCartesianChartContext } from "../contexts/CartesianChartContext"; import { useBarWidth } from "./useBarWidth";