Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
VladLasitsa committed May 12, 2022
1 parent 63e7bca commit f984218
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,13 @@ export function XYChart({
const isTimeViz = Boolean(dataLayers.every((l) => l.xScaleType === 'time'));
const isHistogramViz = dataLayers.every((l) => l.isHistogram);

const { baseDomain: rawXDomain, extendedDomain: xDomain } = useMemo(
const domains = useMemo(
() => getXDomain(dataLayers, minInterval, isTimeViz, isHistogramViz),
[dataLayers, minInterval, isTimeViz, isHistogramViz]
);

const { baseDomain: rawXDomain, extendedDomain: xDomain } = domains;

const yAxesMap = {
left: yAxesConfiguration.find(({ groupId }) => groupId === 'left'),
right: yAxesConfiguration.find(({ groupId }) => groupId === 'right'),
Expand Down

0 comments on commit f984218

Please sign in to comment.