Skip to content

Commit e4af8b9

Browse files
committed
fix(AnalyticalTable): return correct item key for rerenders
1 parent 899cfb2 commit e4af8b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/main/src/components/AnalyticalTable/virtualization/VirtualTableBody.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ export const VirtualTableBody = (props) => {
8282
if (row) {
8383
if (!row.getRowProps) {
8484
prepareRow(row);
85-
if (row.getRowProps) {
86-
return row.getRowProps().key;
87-
}
85+
}
86+
if (row.getRowProps) {
87+
return row.getRowProps().key;
8888
}
8989
}
9090
return index;

0 commit comments

Comments
 (0)