Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
romgrk committed Oct 16, 2024
1 parent 37ffcf5 commit f8468bd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { GridPrivateApiCommunity } from '../../../models/api/gridApiCommunity';
import { GridRowsMetaApi, GridRowsMetaPrivateApi } from '../../../models/api/gridRowsMetaApi';
import { DataGridProcessedProps } from '../../../models/props/DataGridProps';
import { useGridVisibleRows } from '../../utils/useGridVisibleRows';
import { eslintUseValue } from '../../../utils/utils';
import { useGridApiMethod } from '../../utils/useGridApiMethod';
import { GridRowEntry } from '../../../models/gridRows';
import { useGridSelector } from '../../utils/useGridSelector';
Expand Down Expand Up @@ -91,6 +92,8 @@ export const useGridRowsMeta = (
// HACK: rowHeight trails behind the most up-to-date value just enough to
// mess the initial rowsMeta hydration :/
const baseRowHeight = gridDimensionsSelector(apiRef.current.state).rowHeight;
eslintUseValue(rowHeight);

const entry = apiRef.current.getRowHeightEntry(row.id);

if (!getRowHeightProp) {
Expand Down

0 comments on commit f8468bd

Please sign in to comment.