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>
<TableHeader>
<TableRow>
{children?.[0].props.children.props.children}
{children?.[0].props?.children?.props?.children}
</TableRow>
</TableHeader>
<TableBody>{children?.[1].props.children}</TableBody>
<TableBody>{children?.[1].props?.children}</TableBody>
</Table>
),
th: ({ children }: { children: ReactNode }) => (