fix: reranker item uid updated, chat image size issue, #2280

This commit is contained in:
jialin
2025-06-25 16:49:46 +08:00
parent a4d1d3b16c
commit 3889c1fa71
6 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -87,7 +87,7 @@
}
.single-image {
height: 100%;
// height: 100%;
width: inherit;
display: flex;
justify-content: center;
+1 -1
View File
@@ -23,7 +23,7 @@ const dompurifyOptions = {
};
const cleanHtml = (html: string): string => {
return DOMPurify.sanitize(html, dompurifyOptions);
return DOMPurify?.sanitize?.(html, dompurifyOptions);
};
const MarkdownViewer: React.FC<MarkdownViewerProps> = ({