fix callbacks is undefined
This commit is contained in:
parent
f591f61310
commit
1e99f902ad
@ -95,7 +95,7 @@ const Table = ({
|
||||
tableName,
|
||||
rowIndex: ri,
|
||||
propName: rowPropName,
|
||||
columnCallback: callbacks[rowPropName],
|
||||
columnCallback: callbacks && callbacks[rowPropName],
|
||||
...columns[columnIndex].props,
|
||||
});
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user