mail page fix

This commit is contained in:
alma 2025-04-21 18:11:36 +02:00
parent 686288be95
commit 25d597a283

View File

@ -1411,14 +1411,6 @@ export default function CourrierPage() {
setComposeCc(replyEmail.cc);
setComposeSubject(replyEmail.subject);
setComposeBody(replyEmail.body);
// Set the content directly on the div with a slight delay to ensure the component is mounted
setTimeout(() => {
if (composeBodyRef.current) {
composeBodyRef.current.innerHTML = replyEmail.body;
}
}, 0);
setComposeBcc('');
// Show the compose form and CC field for Reply All