Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed Feb 7, 2025
1 parent 7ddf010 commit 831c423
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DefaultizedZoomOptions } from './useChartCartesianAxis.types';

export const creatZoomLookup =
(axisDirection: 'x' | 'y') =>
(axes: AxisConfig<ScaleName, any, ChartsXAxisProps | ChartsYAxisProps>[]) =>
(axes: AxisConfig<ScaleName, any, ChartsXAxisProps | ChartsYAxisProps>[] = []) =>
axes.reduce<Record<AxisId, DefaultizedZoomOptions>>((acc, v) => {
// @ts-ignore
const { zoom, id: axisId } = v;
Expand Down

0 comments on commit 831c423

Please sign in to comment.