Skip to content

Commit

Permalink
add back deps
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshatJawne committed Aug 22, 2024
1 parent 68a4148 commit 7d8f09e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/iris-grid/src/IrisGridModelUpdater.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ function IrisGridModelUpdater({
model.rollupConfig = rollupConfig;
}
},
[model, rollupConfig]
// eslint-disable-next-line react-hooks/exhaustive-deps
[model, model.rollupConfig, rollupConfig]
);
useOnChange(
function updateSelectDistinctColumns() {
Expand All @@ -159,7 +160,8 @@ function IrisGridModelUpdater({
model.totalsConfig = totalsConfig;
}
},
[model, totalsConfig]
// eslint-disable-next-line react-hooks/exhaustive-deps
[model, model.isTotalsAvailable, totalsConfig]
);
useOnChange(
function updatePendingRowCount() {
Expand Down

0 comments on commit 7d8f09e

Please sign in to comment.