mirror of
https://github.com/strapi/strapi.git
synced 2025-09-28 01:40:11 +00:00
Fix missing return with Td
This commit is contained in:
parent
d3cdd26592
commit
30d3e889c6
@ -194,7 +194,7 @@ export const TableRows = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (typeof cellFormatter === 'function') {
|
if (typeof cellFormatter === 'function') {
|
||||||
cellFormatter(data, { key, name, ...rest });
|
return <Td key={key}>{cellFormatter(data, { key, name, ...rest })}</Td>;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user