Skip to content

Commit ccad92c

Browse files
committed
refactor: remove custom headings component from md in chat
1 parent 3f80458 commit ccad92c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/chat/messages.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { useEffect, useRef } from "react";
22
import Markdown from "react-markdown";
33
import remarkGfm from "remark-gfm";
44
import ChatLink from "./chat-link";
5-
import { getMDXComponents } from "@/components/mdx-components";
65
import { classNames } from "@/utils/strings";
76

87
export default function Messages({ messages, className }) {
@@ -43,7 +42,6 @@ export default function Messages({ messages, className }) {
4342
<Markdown
4443
remarkPlugins={[remarkGfm]}
4544
components={{
46-
...getMDXComponents(),
4745
a: ChatLink,
4846
}}
4947
>

0 commit comments

Comments
 (0)