diff --git a/src/Body/BodyRow.tsx b/src/Body/BodyRow.tsx index d33cf38dc..46ca866f8 100644 --- a/src/Body/BodyRow.tsx +++ b/src/Body/BodyRow.tsx @@ -4,7 +4,7 @@ import Cell from '../Cell'; import { responseImmutable } from '../context/TableContext'; import devRenderTimes from '../hooks/useRenderTimes'; import useRowInfo from '../hooks/useRowInfo'; -import type { ColumnType, CustomizeComponent, GetRowKey } from '../interface'; +import type { ColumnType, CustomizeComponent } from '../interface'; import ExpandedRow from './ExpandedRow'; import { computedExpandedClassName } from '../utils/expandUtil'; @@ -19,7 +19,6 @@ export interface BodyRowProps { scopeCellComponent: CustomizeComponent; indent?: number; rowKey: React.Key; - getRowKey: GetRowKey; } // ================================================================================== diff --git a/src/Body/index.tsx b/src/Body/index.tsx index 3173fa22d..aec12e9d4 100644 --- a/src/Body/index.tsx +++ b/src/Body/index.tsx @@ -73,7 +73,6 @@ function Body(props: BodyProps) { rowComponent={trComponent} cellComponent={tdComponent} scopeCellComponent={thComponent} - getRowKey={getRowKey} indent={indent} /> );