use vanilla table
All checks were successful
Deploy Frontend / docker (17, 3.8.5) (push) Successful in 1m4s

This commit is contained in:
Braydon 2024-04-21 01:46:34 -04:00
parent 14122b0267
commit 47d2982666

@ -49,22 +49,22 @@ const components: any = {
),
// Tables
table: ({ children }: { children: any }) => (
<Table>
<TableHeader>
<TableRow>
{children?.[0].props?.children?.props?.children}
</TableRow>
</TableHeader>
<TableBody>{children?.[1].props?.children}</TableBody>
</Table>
),
th: ({ children }: { children: ReactNode }) => (
<TableHead>{children}</TableHead>
),
td: ({ children }: { children: ReactNode }) => (
<TableCell>{children}</TableCell>
),
// table: ({ children }: { children: any }) => (
// <Table>
// <TableHeader>
// <TableRow>
// {children?.[0].props?.children?.props?.children}
// </TableRow>
// </TableHeader>
// <TableBody>{children?.[1].props?.children}</TableBody>
// </Table>
// ),
// th: ({ children }: { children: ReactNode }) => (
// <TableHead>{children}</TableHead>
// ),
// td: ({ children }: { children: ReactNode }) => (
// <TableCell>{children}</TableCell>
// ),
};
/**