diff --git a/app/mail/page.tsx b/app/mail/page.tsx index 1120777..97bce64 100644 --- a/app/mail/page.tsx +++ b/app/mail/page.tsx @@ -1175,25 +1175,6 @@ export default function MailPage() { ); - // Add debug component to help track state - const DebugInfo = () => { - if (process.env.NODE_ENV !== 'development') return null; - - return ( -
-
Current view: {currentView}
-
Total emails: {emails.length}
-
Categories present: { - [...new Set(emails.map(e => e.folder))].join(', ') - }
-
Selected emails: {selectedEmails.length}
-
Flags present: { - [...new Set(emails.flatMap(e => e.flags || []))].join(', ') - }
-
- ); - }; - // Add attachment handling functions const handleFileAttachment = async (e: React.ChangeEvent) => { if (!e.target.files) return; @@ -1649,9 +1630,6 @@ export default function MailPage() { )} - - {/* Add debug info in development */} - ); } \ No newline at end of file