Skip to content

Commit a53a630

Browse files
committed
chore: fix ts
1 parent 92616be commit a53a630

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Body/BodyRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function getCellProps<RecordType>(
4141
colIndex: number,
4242
indent: number,
4343
index: number,
44-
rowKeys: React.Key[],
44+
rowKeys: React.Key[] = [],
4545
expandedRowOffset = 0,
4646
) {
4747
const {

src/VirtualTable/VirtualCell.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ function VirtualCell<RecordType = any>(props: VirtualCellProps<RecordType>) {
5656

5757
const { columnsOffset } = useContext(GridContext, ['columnsOffset']);
5858

59+
// TODO: support `expandableRowOffset`
5960
const { key, fixedInfo, appendCellNode, additionalCellProps } = getCellProps(
6061
rowInfo,
6162
column,

0 commit comments

Comments
 (0)