From 84f4c17ddd1498345fe3b3162be061062070687d Mon Sep 17 00:00:00 2001 From: Bilal Shafi Date: Thu, 29 Aug 2024 18:34:05 +0500 Subject: [PATCH] Lint --- .../x-data-grid/src/components/containers/GridRootStyles.ts | 2 +- .../src/hooks/features/columnHeaders/useGridColumnHeaders.tsx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/x-data-grid/src/components/containers/GridRootStyles.ts b/packages/x-data-grid/src/components/containers/GridRootStyles.ts index 2a4805f408cc6..1c8ecf5b50496 100644 --- a/packages/x-data-grid/src/components/containers/GridRootStyles.ts +++ b/packages/x-data-grid/src/components/containers/GridRootStyles.ts @@ -492,7 +492,7 @@ export const GridRootStyles = styled('div', { borderTopColor: 'transparent', }, [`& .${c['pinnedRows--top']} :first-of-type`]: { - [`& .${c.cell}, .${c['scrollbarFiller']}`]: { + [`& .${c.cell}, .${c.scrollbarFiller}`]: { borderTop: 'none', }, }, diff --git a/packages/x-data-grid/src/hooks/features/columnHeaders/useGridColumnHeaders.tsx b/packages/x-data-grid/src/hooks/features/columnHeaders/useGridColumnHeaders.tsx index b81f3c9b3bc9d..44fe8ae3c0689 100644 --- a/packages/x-data-grid/src/hooks/features/columnHeaders/useGridColumnHeaders.tsx +++ b/packages/x-data-grid/src/hooks/features/columnHeaders/useGridColumnHeaders.tsx @@ -28,7 +28,6 @@ import { gridColumnPositionsSelector, gridVisiblePinnedColumnDefinitionsSelector, } from '../columns'; -import { gridPinnedRowsSelector } from '../rows/gridRowsSelector'; import { GridGroupingStructure } from '../columnGrouping/gridColumnGroupsInterfaces'; import { gridColumnGroupsUnwrappedModelSelector } from '../columnGrouping/gridColumnGroupsSelector'; import { GridScrollbarFillerCell as ScrollbarFiller } from '../../../components/GridScrollbarFillerCell'; @@ -106,7 +105,6 @@ export const useGridColumnHeaders = (props: UseGridColumnHeadersProps) => { const columnPositions = useGridSelector(apiRef, gridColumnPositionsSelector); const renderContext = useGridSelector(apiRef, gridRenderContextColumnsSelector); const pinnedColumns = useGridSelector(apiRef, gridVisiblePinnedColumnDefinitionsSelector); - const pinnedRows = useGridSelector(apiRef, gridPinnedRowsSelector); const offsetLeft = computeOffsetLeft( columnPositions, renderContext,