feat: images upload
This commit is contained in:
@@ -34,7 +34,7 @@ export function DataTable<TData, TValue>({ columns, data, onRowClick }: DataTabl
|
||||
))}
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
{table.getRowCount() === 0 && <h5 className="mt-2 text-muted-foreground">There are no pending applications</h5>}
|
||||
{table.getRowCount() === 0 && <TableRow><TableCell colSpan={columns.length} className="text-center text-muted-foreground">There are no pending applications</TableCell></TableRow>}
|
||||
{table.getRowModel().rows.map((row) => (
|
||||
<TableRow key={row.id} className="cursor-pointer" onClick={() => onRowClick?.(row.original)}>
|
||||
{row.getVisibleCells().map((cell) => (
|
||||
|
||||
Reference in New Issue
Block a user