Skip to content

Commit

Permalink
fix: build error (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
zibs authored Sep 9, 2024
1 parent 0d3ebfd commit 1cc76d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/src/cartesian/hooks/useBarWidth.ts
Original file line number Diff line number Diff line change
@@ -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[];
Expand Down
4 changes: 2 additions & 2 deletions lib/src/cartesian/hooks/useStackedBarPaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit 1cc76d1

Please sign in to comment.