Skip to content

Commit 116cd46

Browse files
committed
Applied review
1 parent 8cbfc6b commit 116cd46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ra-ui-materialui/src/list/datagrid/DatagridBody.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const DatagridBody: FC<DatagridBodyProps> = React.forwardRef(
4545
hasBulkActions: hasBulkActions && !!selectedIds,
4646
hover,
4747
id: record.id,
48-
key: `row${rowIndex}`,
48+
key: record.id ?? `row${rowIndex}`,
4949
onToggleItem,
5050
record,
5151
resource,

0 commit comments

Comments
 (0)