From d0161fadae16843b9743388fab81a81b000fd1c7 Mon Sep 17 00:00:00 2001 From: alma Date: Mon, 21 Apr 2025 22:16:10 +0200 Subject: [PATCH] mail page fix design dang --- app/courrier/page.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/app/courrier/page.tsx b/app/courrier/page.tsx index 0ccd8a2a..c0efc0be 100644 --- a/app/courrier/page.tsx +++ b/app/courrier/page.tsx @@ -1671,6 +1671,22 @@ export default function CourrierPage() { attachments={attachments} setAttachments={setAttachments} handleSend={handleSend} + onSend={(email) => { + // Handle the sent email + console.log('Email sent:', email); + setShowCompose(false); + }} + onCancel={() => { + setShowCompose(false); + setComposeTo(''); + setComposeCc(''); + setComposeBcc(''); + setComposeSubject(''); + setComposeBody(''); + setShowCc(false); + setShowBcc(false); + setAttachments([]); + }} /> {renderDeleteConfirmDialog()}