From 66fb140db142a2f3af44c9894a7de61468d9d874 Mon Sep 17 00:00:00 2001 From: molvqingtai Date: Sun, 15 Oct 2023 05:07:38 +0800 Subject: [PATCH] chore(markdown): optimize message image display --- src/components/ui/Markdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/Markdown.tsx b/src/components/ui/Markdown.tsx index 7572059..3236bd3 100644 --- a/src/components/ui/Markdown.tsx +++ b/src/components/ui/Markdown.tsx @@ -16,7 +16,7 @@ const Markdown: FC = ({ children = '', className }) => { h1: ({ className, ...props }) =>

, h2: ({ className, ...props }) =>

, img: ({ className, alt, ...props }) => ( - {alt} + {alt} ), ul: ({ className, ...props }) => { Reflect.deleteProperty(props, 'ordered')