Skip to content

Commit

Permalink
refactor(chartUtils): Resolved lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjeevLakhwani committed May 30, 2024
1 parent a5d4bce commit e2574e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/chartUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const useTransformedChartData = (
removeEmpty: origRemoveEmpty,
}: CategoricalChartDataWithTransforms,
defaultRemoveEmpty = true,
sortY = false,
sortY = false
) =>
useMemo(() => {
const removeEmpty = origRemoveEmpty ?? defaultRemoveEmpty;
Expand All @@ -34,4 +34,4 @@ export const useTransformedChartData = (
if (sortY) data.sort((a, b) => a.y - b.y);

return data;
}, [originalData, preFilter, dataMap, postFilter, origRemoveEmpty]);
}, [dataMap, defaultRemoveEmpty, originalData, origRemoveEmpty, preFilter, postFilter, sortY]);

0 comments on commit e2574e5

Please sign in to comment.