Skip to content

Commit

Permalink
fix: useMemo dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Apr 5, 2023
1 parent 9f36514 commit 29b3574
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/charts/column/columns-state.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ import {
} from "@/configurator/components/ui-helpers";
import { isTemporalDimension, Observation } from "@/domain/data";
import {
useFormatNumber,
formatNumberWithUnit,
useFormatNumber,
useTimeFormatUnit,
} from "@/formatters";
import {
Expand Down Expand Up @@ -224,6 +224,7 @@ const useColumnsState = (
fields.x.sorting,
fields.x.useAbbreviations,
xDimension,
chartConfig.filters,
]);

const yMeasure = measures.find((d) => d.iri === fields.y.componentIri);
Expand Down

0 comments on commit 29b3574

Please sign in to comment.