Skip to content

Commit 5a7c1f8

Browse files
committed
fix: unnecessary path color override
1 parent 0212ee0 commit 5a7c1f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/LineChart/InteractiveLineChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const InteractiveLineChart: React.FC<LineChartProps<false>> = ({
7878
<GestureDetector gesture={gestures}>
7979
<View style={styles.container} onLayout={onLayout}>
8080
<Canvas style={{ height, width }}>
81-
<Path style="stroke" path={path} strokeWidth={strokeWidth} color="white">
81+
<Path style="stroke" path={path} strokeWidth={strokeWidth}>
8282
{PathFill && PathFill({ width, height, strokeWidth })}
8383
</Path>
8484
{!hideCursor ? (

src/components/LineChart/StaticLineChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const StaticLineChart: React.FC<LineChartProps<true>> = ({
4646
)}
4747
<View style={styles.container} onLayout={onLayout}>
4848
<Canvas style={{ height, width }}>
49-
<Path style="stroke" path={path} strokeWidth={strokeWidth} color="white">
49+
<Path style="stroke" path={path} strokeWidth={strokeWidth}>
5050
{PathFill && PathFill({ width, height, strokeWidth })}
5151
</Path>
5252
</Canvas>

0 commit comments

Comments
 (0)