Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii committed Oct 15, 2024
1 parent 0d85739 commit e3ebadd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ export const useGridRowsMeta = (
const sortModel = useGridSelector(apiRef, gridSortModelSelector);
const currentPage = useGridVisibleRows(apiRef, props);
const pinnedRows = useGridSelector(apiRef, gridPinnedRowsSelector);
const rowHeight = useGridSelector(apiRef, () => {
const dimensions = gridDimensionsSelector(apiRef.current.state);
return dimensions.rowHeight;
});
const rowHeight = useGridSelector(
apiRef,
() => gridDimensionsSelector(apiRef.current.state).rowHeight,
);

const hydrateRowsMeta = React.useCallback(() => {
hasRowWithAutoHeight.current = false;
Expand Down

0 comments on commit e3ebadd

Please sign in to comment.