* feat: optimize collection list relationship queries (#749)

* feat: optimize collection list relationship queries
This commit is contained in:
Dan Ribbens
2022-07-14 16:51:41 -04:00
committed by GitHub
parent 057846e250
commit 31bc4c6532
11 changed files with 275 additions and 61 deletions

View File

@@ -26,7 +26,10 @@ const Table: React.FC<Props> = ({ columns, data }) => {
{data && data.map((row, rowIndex) => (
<tr key={rowIndex}>
{columns.map((col, colIndex) => (
<td key={colIndex}>
<td
key={colIndex}
className={col.accessor}
>
{col.components.renderCell(row, row[col.accessor])}
</td>
))}