♻️ small refactor

This commit is contained in:
Fred KISSIE
2026-04-23 04:22:18 +02:00
parent 245755a140
commit 9db5ff9ff7

View File

@@ -563,7 +563,7 @@ export function ControlledDataTable<TData, TValue>({
))} ))}
</TableHeader> </TableHeader>
<TableBody> <TableBody>
{table.getRowModel().rows?.length ? ( {(table.getRowModel().rows ?? []).length > 0 ? (
table.getRowModel().rows.map((row) => ( table.getRowModel().rows.map((row) => (
<TableRow <TableRow
key={row.id} key={row.id}