Fix missing return with Td

This commit is contained in:
Mark Kaylor 2023-07-18 11:10:08 +02:00
parent d3cdd26592
commit 30d3e889c6

View File

@ -194,7 +194,7 @@ export const TableRows = ({
}
if (typeof cellFormatter === 'function') {
cellFormatter(data, { key, name, ...rest });
return <Td key={key}>{cellFormatter(data, { key, name, ...rest })}</Td>;
}
return (