Skip to content

Commit cd5f769

Browse files
author
Claudio Gonzalez
committed
Fix Ant Design Table deprecation warning - Remove render function when using onCell to avoid performance warning - Fix columns.render return cell props deprecation issue - Ensure proper Table component configuration for inline editing
1 parent 336af51 commit cd5f769

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/Form/Collection.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ const Collection = ({
437437
const columns = pasedColumns.map((col) => {
438438
return {
439439
...col,
440+
render: undefined, // Remove render when using onCell to avoid deprecation warning
440441
onCell: (record) => ({
441442
record,
442443
editable: true,

0 commit comments

Comments
 (0)