Skip to content

Commit

Permalink
fix: finestTemporalGrainFormatter (#25618)
Browse files Browse the repository at this point in the history
(cherry picked from commit 62bffaf)
  • Loading branch information
betodealmeida authored and michael-s-molina committed Oct 13, 2023
1 parent a0b2dc4 commit c44f1a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ export default function PluginFilterSelect(props: PluginFilterSelectProps) {
const labelFormatter = useMemo(
() =>
getDataRecordFormatter({
timeFormatter: finestTemporalGrainFormatter(data.map(el => el.col)),
timeFormatter: finestTemporalGrainFormatter(data.map(el => el[col])),
}),
[data],
[data, col],
);

const updateDataMask = useCallback(
Expand Down

0 comments on commit c44f1a3

Please sign in to comment.