Skip to content

Commit

Permalink
update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
ijreilly committed Dec 10, 2024
1 parent a1bbdec commit f90f574
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const RecordIndexTableContainerEffect = () => {
);
}, [setRecordCountInCurrentView, setOnEntityCountChange]);

const setViewFieldsAggregateOperations = useRecoilCallback(
const setViewFieldAggregateOperation = useRecoilCallback(
({ set, snapshot }) =>
(viewField: ViewField) => {
const aggregateOperationForViewField = snapshot
Expand All @@ -99,11 +99,11 @@ export const RecordIndexTableContainerEffect = () => {

useEffect(() => {
currentViewWithSavedFiltersAndSorts?.viewFields.forEach((viewField) => {
setViewFieldsAggregateOperations(viewField);
setViewFieldAggregateOperation(viewField);
});
}, [
currentViewWithSavedFiltersAndSorts?.viewFields,
setViewFieldsAggregateOperations,
setViewFieldAggregateOperation,
]);

return <></>;
Expand Down

0 comments on commit f90f574

Please sign in to comment.