fix: reranker item uid updated, chat image size issue, #2280
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
}
|
||||
|
||||
.single-image {
|
||||
height: 100%;
|
||||
// height: 100%;
|
||||
width: inherit;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
@@ -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> = ({
|
||||
|
||||
Reference in New Issue
Block a user