use memo to consume trendlines series

This commit is contained in:
Nate Kelley 2025-05-12 11:00:26 -06:00
parent fa62fa4c32
commit e5a52a871c
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ export const useSeriesOptions = ({
columnSettings,
trendlineSeries
});
}, [datasetOptions, columnSettings, columnLabelFormats, xAxisKeys, sizeKey]);
}, [datasetOptions, columnSettings, columnLabelFormats, xAxisKeys, sizeKey, trendlineSeries]);
const sizeOptions: SeriesBuilderProps['sizeOptions'] = useMemo(() => {
if (!sizeKey || sizeKey.length === 0) {