undefined check for table
All checks were successful
Deploy Frontend / docker (17, 3.8.5) (push) Successful in 1m3s

This commit is contained in:
Braydon 2024-04-21 01:10:17 -04:00
parent e1acb73805
commit 0d77a2e219

@ -53,10 +53,10 @@ const components: any = {
<Table> <Table>
<TableHeader> <TableHeader>
<TableRow> <TableRow>
{children?.[0].props.children.props.children} {children?.[0].props?.children?.props?.children}
</TableRow> </TableRow>
</TableHeader> </TableHeader>
<TableBody>{children?.[1].props.children}</TableBody> <TableBody>{children?.[1].props?.children}</TableBody>
</Table> </Table>
), ),
th: ({ children }: { children: ReactNode }) => ( th: ({ children }: { children: ReactNode }) => (