mirror of https://github.com/buster-so/buster.git
use memo to consume trendlines series
This commit is contained in:
parent
fa62fa4c32
commit
e5a52a871c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue