Skip to content

Commit fe8f809

Browse files
fix: usage of layoutSize.value doesn't contain width or height causin…
…g chart not to render
1 parent 6032b6a commit fe8f809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/charts/linear/ChartPath.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ function ChartPath({
633633
})
634634
.join(' ')
635635
.replace('L', 'M');
636-
}, [currData.value, prevData.value, width, height]);
636+
}, [currData.value, prevData.value, smoothingStrategy.value, width, height]);
637637

638638
const animatedProps = useAnimatedStyle(() => {
639639
const props = {

0 commit comments

Comments
 (0)