Skip to content

Commit 7b2965d

Browse files
committed
simplify basicLineParams
1 parent f481cd8 commit 7b2965d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/wrappers/components/data-vis/line-chart/LinesWrapper.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -532,12 +532,12 @@
532532
});
533533
534534
let basicLineParams = $derived({
535-
lineFunction: getValue(lineFunction),
536-
xFunction: getValue(xFunction),
537-
yFunction: getValue(yFunction),
538-
onClick: getValue(onClick),
539-
onMouseEnter: getValue(onMouseEnter),
540-
onMouseLeave: getValue(onMouseLeave),
535+
lineFunction,
536+
xFunction,
537+
yFunction,
538+
onClick,
539+
onMouseEnter,
540+
onMouseLeave,
541541
invisibleStrokeWidth: 20,
542542
});
543543

0 commit comments

Comments
 (0)