Skip to content

Commit

Permalink
Work
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Apr 6, 2022
1 parent ef7c982 commit 0cac80d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const useGridRowsMeta = (
};
});
apiRef.current.forceUpdate();
}, [apiRef, currentPage.rows, currentPage.range?.firstRowIndex, getRowSpacing, getRowHeight]);
}, [apiRef, currentPage.rows, getRowSpacing, getRowHeight]);

const getTargetRowHeight = (rowId: GridRowId): number =>
rowsHeightLookup.current[rowId]?.value || rowHeight;
Expand Down

0 comments on commit 0cac80d

Please sign in to comment.