From 3cadc9ad61feacc2f9542da935a36d012d386a6f Mon Sep 17 00:00:00 2001 From: Adam Hwang Date: Wed, 22 Dec 2021 08:59:22 -0600 Subject: [PATCH] Fixed additional submodule file imports --- .../interactive/src/components/InteractiveYCoordinate.tsx | 4 ++-- .../interactive/src/components/MouseLocationIndicator.tsx | 2 +- packages/interactive/src/wrapper/EachEquidistantChannel.tsx | 2 +- packages/interactive/src/wrapper/EachFibRetracement.tsx | 2 +- packages/interactive/src/wrapper/EachGannFan.tsx | 2 +- .../interactive/src/wrapper/EachLinearRegressionChannel.tsx | 2 +- packages/interactive/src/wrapper/EachText.tsx | 2 +- packages/interactive/src/wrapper/EachTrendLine.tsx | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/interactive/src/components/InteractiveYCoordinate.tsx b/packages/interactive/src/components/InteractiveYCoordinate.tsx index 170c5ddfd..13c85c8f5 100644 --- a/packages/interactive/src/components/InteractiveYCoordinate.tsx +++ b/packages/interactive/src/components/InteractiveYCoordinate.tsx @@ -1,6 +1,6 @@ import * as React from "react"; -import { drawOnCanvas } from "@react-financial-charts/coordinates/lib/EdgeCoordinateV3"; -import { getYCoordinate } from "@react-financial-charts/coordinates/lib/MouseCoordinateY"; +import { drawOnCanvas } from "@react-financial-charts/coordinates/lib/EdgeCoordinateV3.js"; +import { getYCoordinate } from "@react-financial-charts/coordinates/lib/MouseCoordinateY.js"; import { getStrokeDasharrayCanvas, getMouseCanvas, diff --git a/packages/interactive/src/components/MouseLocationIndicator.tsx b/packages/interactive/src/components/MouseLocationIndicator.tsx index c25038c5b..e6ca65b55 100644 --- a/packages/interactive/src/components/MouseLocationIndicator.tsx +++ b/packages/interactive/src/components/MouseLocationIndicator.tsx @@ -8,7 +8,7 @@ import { shallowEqual, } from "@react-financial-charts/core"; import * as React from "react"; -import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil"; +import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil.js"; export interface MouseLocationIndicatorProps { readonly enabled: boolean; diff --git a/packages/interactive/src/wrapper/EachEquidistantChannel.tsx b/packages/interactive/src/wrapper/EachEquidistantChannel.tsx index b8c6f530b..44597227b 100644 --- a/packages/interactive/src/wrapper/EachEquidistantChannel.tsx +++ b/packages/interactive/src/wrapper/EachEquidistantChannel.tsx @@ -1,6 +1,6 @@ import * as React from "react"; import { isDefined, noop } from "@react-financial-charts/core"; -import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil"; +import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil.js"; import { isHover, saveNodeType } from "../utils.js"; import { ChannelWithArea, ClickableCircle, HoverTextNearMouse } from "../components/index.js"; diff --git a/packages/interactive/src/wrapper/EachFibRetracement.tsx b/packages/interactive/src/wrapper/EachFibRetracement.tsx index 1198a9e96..08ec628fe 100644 --- a/packages/interactive/src/wrapper/EachFibRetracement.tsx +++ b/packages/interactive/src/wrapper/EachFibRetracement.tsx @@ -1,6 +1,6 @@ import * as React from "react"; import { head, last, noop } from "@react-financial-charts/core"; -import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil"; +import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil.js"; import { isHover, saveNodeType } from "../utils.js"; import { ClickableCircle, HoverTextNearMouse, InteractiveStraightLine, generateLine, Text } from "../components/index.js"; import { getNewXY } from "./EachTrendLine.js"; diff --git a/packages/interactive/src/wrapper/EachGannFan.tsx b/packages/interactive/src/wrapper/EachGannFan.tsx index 74c4e0757..067487811 100644 --- a/packages/interactive/src/wrapper/EachGannFan.tsx +++ b/packages/interactive/src/wrapper/EachGannFan.tsx @@ -1,6 +1,6 @@ import * as React from "react"; import { isDefined, noop } from "@react-financial-charts/core"; -import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil"; +import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil.js"; import { isHover, saveNodeType } from "../utils.js"; import { ClickableCircle, GannFan, HoverTextNearMouse } from "../components/index.js"; diff --git a/packages/interactive/src/wrapper/EachLinearRegressionChannel.tsx b/packages/interactive/src/wrapper/EachLinearRegressionChannel.tsx index ac661d63a..e0907522b 100644 --- a/packages/interactive/src/wrapper/EachLinearRegressionChannel.tsx +++ b/packages/interactive/src/wrapper/EachLinearRegressionChannel.tsx @@ -1,4 +1,4 @@ -import { getCurrentItem } from "@react-financial-charts/core/lib/utils/ChartDataUtil"; +import { getCurrentItem } from "@react-financial-charts/core/lib/utils/ChartDataUtil.js"; import * as React from "react"; import { isHover, saveNodeType } from "../utils.js"; import { HoverTextNearMouse, ClickableCircle } from "../components/index.js"; diff --git a/packages/interactive/src/wrapper/EachText.tsx b/packages/interactive/src/wrapper/EachText.tsx index b3b8666ab..e30958e33 100644 --- a/packages/interactive/src/wrapper/EachText.tsx +++ b/packages/interactive/src/wrapper/EachText.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil"; +import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil.js"; import { isHover, saveNodeType } from "../utils.js"; import { HoverTextNearMouse, InteractiveText } from "../components/index.js"; diff --git a/packages/interactive/src/wrapper/EachTrendLine.tsx b/packages/interactive/src/wrapper/EachTrendLine.tsx index ac2af566a..9e80bc5fc 100644 --- a/packages/interactive/src/wrapper/EachTrendLine.tsx +++ b/packages/interactive/src/wrapper/EachTrendLine.tsx @@ -1,7 +1,7 @@ import * as React from "react"; import { ascending as d3Ascending } from "d3-array"; import { noop, strokeDashTypes } from "@react-financial-charts/core"; -import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil"; +import { getXValue } from "@react-financial-charts/core/lib/utils/ChartDataUtil.js"; import { isHover, saveNodeType } from "../utils.js"; import { ClickableCircle, HoverTextNearMouse, InteractiveStraightLine } from "../components/index.js";