Skip to content

Commit

Permalink
fix: finestTemporalGrainFormatter (apache#25618)
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida authored and sfirke committed Mar 22, 2024
1 parent 47358c0 commit db8fc9b
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 db8fc9b

Please sign in to comment.