fix markdown and jax version
This commit is contained in:
parent
10ec865214
commit
60df238ec2
2 changed files with 3 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue