From 9a61ea59b2d178616a3eac519f7348aa16a1401e Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 15 Jan 2024 18:05:21 -0800 Subject: [PATCH] fix import issue caused by renaming --- component/charts/bar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/component/charts/bar.tsx b/component/charts/bar.tsx index 97cdc41..d2694bb 100644 --- a/component/charts/bar.tsx +++ b/component/charts/bar.tsx @@ -2,11 +2,11 @@ import React from 'react'; import { Path } from 'react-native-svg'; import { calculateBarOrigin, drawBarPath } from './custom-bar-utils'; -import { ScaleFunction } from './graph-types'; +import { ScaleBandType, ScaleLinearType, } from './graph-types'; interface BarProps { - scaleX: ScaleFunction; - scaleY: ScaleFunction; + scaleX: ScaleBandType; + scaleY: ScaleLinearType; data: { value: number }; barNumber: number; index: number;