diff --git a/src/components/Series/FunctionSeries.tsx b/src/components/Series/FunctionSeries.tsx index 431b09a1..56a8838d 100644 --- a/src/components/Series/FunctionSeries.tsx +++ b/src/components/Series/FunctionSeries.tsx @@ -36,6 +36,6 @@ export function FunctionSeries(props: FunctionSeriesProps) { } return [{ x: 0, y: 0 }]; // eslint-disable-next-line react-hooks/exhaustive-deps - }, [x?.domain[0], x?.domain[1]]); + }, [getY, x?.domain[0], x?.domain[1]]); return ; }