From 47d2982666c376cbd47e3d642c8fdc25461aa1d0 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Sun, 21 Apr 2024 01:46:34 -0400 Subject: [PATCH] use vanilla table --- Frontend/src/app/components/mdx.tsx | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Frontend/src/app/components/mdx.tsx b/Frontend/src/app/components/mdx.tsx index eba3edc..d5b7bee 100644 --- a/Frontend/src/app/components/mdx.tsx +++ b/Frontend/src/app/components/mdx.tsx @@ -49,22 +49,22 @@ const components: any = { ), // Tables - table: ({ children }: { children: any }) => ( - - - - {children?.[0].props?.children?.props?.children} - - - {children?.[1].props?.children} -
- ), - th: ({ children }: { children: ReactNode }) => ( - {children} - ), - td: ({ children }: { children: ReactNode }) => ( - {children} - ), + // table: ({ children }: { children: any }) => ( + // + // + // + // {children?.[0].props?.children?.props?.children} + // + // + // {children?.[1].props?.children} + //
+ // ), + // th: ({ children }: { children: ReactNode }) => ( + // {children} + // ), + // td: ({ children }: { children: ReactNode }) => ( + // {children} + // ), }; /**