diff --git a/packages/x-data-grid/src/hooks/features/overlays/useGridOverlays.tsx b/packages/x-data-grid/src/hooks/features/overlays/useGridOverlays.tsx index 120962823b984..ba16aba36e2cf 100644 --- a/packages/x-data-grid/src/hooks/features/overlays/useGridOverlays.tsx +++ b/packages/x-data-grid/src/hooks/features/overlays/useGridOverlays.tsx @@ -3,11 +3,8 @@ import { useGridSelector } from '../../utils'; import { useGridApiContext } from '../../utils/useGridApiContext'; import { useGridRootProps } from '../../utils/useGridRootProps'; import { gridExpandedRowCountSelector } from '../filter'; -import { - gridRowCountSelector, - gridRowsLoadingSelector, - gridPinnedRowsCountSelector, -} from '../rows'; +import { gridRowCountSelector, gridRowsLoadingSelector } from '../rows'; +import { gridPinnedRowsCountSelector } from '../rows/gridRowsSelector'; import { GridLoadingOverlayVariant } from '../../../components/GridLoadingOverlay'; import { GridOverlayWrapper } from '../../../components/base/GridOverlays'; import type { GridOverlayType } from '../../../components/base/GridOverlays'; diff --git a/packages/x-data-grid/src/hooks/features/rows/index.ts b/packages/x-data-grid/src/hooks/features/rows/index.ts index 74c1a8c86a3f4..81b512217493d 100644 --- a/packages/x-data-grid/src/hooks/features/rows/index.ts +++ b/packages/x-data-grid/src/hooks/features/rows/index.ts @@ -10,7 +10,6 @@ export { gridRowTreeDepthsSelector, gridRowMaximumTreeDepthSelector, gridDataRowIdsSelector, - gridPinnedRowsCountSelector, } from './gridRowsSelector'; export type { GridRowsState, GridRowIdToModelLookup } from './gridRowsInterfaces'; export { GRID_ROOT_GROUP_ID, checkGridRowIdIsValid, isAutogeneratedRow } from './gridRowsUtils';