fix markdown and jax version

This commit is contained in:
cristhianzl 2024-06-17 18:16:04 -03:00
commit 60df238ec2
2 changed files with 3 additions and 3 deletions

View file

@ -58,13 +58,13 @@
"react-hotkeys-hook": "^4.5.0",
"react-icons": "^5.2.1",
"react-laag": "^2.0.5",
"react-markdown": "^9.0.1",
"react-markdown": "^8.0.7",
"react-pdf": "^9.0.0",
"react-router-dom": "^6.23.1",
"react-syntax-highlighter": "^15.5.0",
"react18-json-view": "^0.2.8",
"reactflow": "^11.11.3",
"rehype-mathjax": "^6.0.0",
"rehype-mathjax": "^4.0.3",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",
"shadcn-ui": "^0.8.0",

View file

@ -200,7 +200,7 @@ export default function ChatMessage({
children,
...props
}) => {
if (children?.length) {
if ((children as string)!.length) {
if (children![0] === "▍") {
return (
<span className="form-modal-markdown-span">