diff --git a/src/vs/workbench/contrib/void/browser/react/src/markdown/ChatMarkdownRender.tsx b/src/vs/workbench/contrib/void/browser/react/src/markdown/ChatMarkdownRender.tsx index 91773cf6..763dc3ec 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/markdown/ChatMarkdownRender.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/markdown/ChatMarkdownRender.tsx @@ -189,24 +189,25 @@ const RenderToken = ({ token, inPTag, codeURI, chatMessageLocation, tokenIdx, .. } if (t.type === 'table') { + return (
- {t.header.map((cell: any, index: number) => ( - ))} - {t.rows.map((row: any[], rowIndex: number) => ( - - {row.map((cell: any, cellIndex: number) => ( - + {row.map((r, rIdx: number) => ( + ))}
- {cell.raw} + {t.header.map((h, hIdx: number) => ( + + {h.text}
- {cell.raw} + {t.rows.map((row, rowIdx: number) => ( +
+ {r.text}