Resolve various warnings during export

This commit is contained in:
sabaimran
2024-08-03 17:33:04 +05:30
parent 5a75f2c00f
commit 87e97e40f4
12 changed files with 56 additions and 48 deletions

View File

@@ -246,7 +246,7 @@ export default function ChatMessage(props: ChatMessageProps) {
// Sanitize and set the rendered markdown
setMarkdownRendered(DOMPurify.sanitize(markdownRendered));
}, [props.chatMessage.message]);
}, [props.chatMessage.message, props.chatMessage.intent]);
useEffect(() => {
if (copySuccess) {