diff --git a/app/mail/page.tsx b/app/mail/page.tsx
index 2a07524..e36b361 100644
--- a/app/mail/page.tsx
+++ b/app/mail/page.tsx
@@ -869,7 +869,7 @@ export default function MailPage() {
);
};
- // Update the email list to include the toolbar right after the header
+ // Keep only one renderEmailListWrapper function that includes both panels
const renderEmailListWrapper = () => (
{/* Email list panel */}
@@ -1141,153 +1141,6 @@ export default function MailPage() {
);
- // Render the email list using sorted emails
- const renderEmailListWrapper = () => (
-
- {/* Email list panel */}
- {renderEmailList()}
-
- {/* Preview panel - will automatically take remaining space */}
-