Neah version mail design fix 11
This commit is contained in:
parent
9ba33202d0
commit
df33fec7d5
@ -1175,25 +1175,6 @@ export default function MailPage() {
|
||||
</nav>
|
||||
);
|
||||
|
||||
// Add debug component to help track state
|
||||
const DebugInfo = () => {
|
||||
if (process.env.NODE_ENV !== 'development') return null;
|
||||
|
||||
return (
|
||||
<div className="fixed bottom-4 right-4 bg-black/80 text-white p-4 rounded-lg text-xs">
|
||||
<div>Current view: {currentView}</div>
|
||||
<div>Total emails: {emails.length}</div>
|
||||
<div>Categories present: {
|
||||
[...new Set(emails.map(e => e.folder))].join(', ')
|
||||
}</div>
|
||||
<div>Selected emails: {selectedEmails.length}</div>
|
||||
<div>Flags present: {
|
||||
[...new Set(emails.flatMap(e => e.flags || []))].join(', ')
|
||||
}</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
// Add attachment handling functions
|
||||
const handleFileAttachment = async (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
if (!e.target.files) return;
|
||||
@ -1649,9 +1630,6 @@ export default function MailPage() {
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Add debug info in development */}
|
||||
<DebugInfo />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user