From 74660377794abfc4fe3c8c73b286471ad2e8e77b Mon Sep 17 00:00:00 2001 From: alma Date: Sun, 27 Apr 2025 12:27:31 +0200 Subject: [PATCH] courrier refactor rebuild 2 --- components/email/ComposeEmail.tsx | 70 ++++++++++++++++--------------- 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/components/email/ComposeEmail.tsx b/components/email/ComposeEmail.tsx index bc470d59..7304d1fd 100644 --- a/components/email/ComposeEmail.tsx +++ b/components/email/ComposeEmail.tsx @@ -382,7 +382,7 @@ export default function ComposeEmail(props: ComposeEmailAllProps) { {/* Message Body */}
-
+
- - {/* Render quoted content for replies and forwards */} - {initialEmail && type !== 'new' && ( +
+ + {/* Render quoted content for replies and forwards */} + {initialEmail && type !== 'new' && ( +
- )} -
+
+ )}
{/* Attachments */} @@ -696,7 +698,7 @@ function LegacyAdapter({ {/* Message Body */}
-
+
- - {/* Render original message for replies and forwards */} - {(originalEmail || replyTo || forwardFrom) && ( -
- {replyTo ? ( - - ) : forwardFrom ? ( - - ) : null} -
- )}
+ + {/* Render original message for replies and forwards */} + {(originalEmail || replyTo || forwardFrom) && ( +
+ {replyTo ? ( + + ) : forwardFrom ? ( + + ) : null} +
+ )}
{/* Attachments */}