courrier multi account restore compose

This commit is contained in:
alma 2025-04-28 18:21:59 +02:00
parent 5981267f68
commit 325961c8ba

View File

@ -725,11 +725,11 @@ export default function CourrierPage() {
const handleAddAccount = async (accountData: AccountData) => { const handleAddAccount = async (accountData: AccountData) => {
// ... account creation logic ... // ... account creation logic ...
setAccounts(prev => [...prev, newAccount]); // setAccounts(prev => [...prev, newAccount]);
setVisibleFolders(prev => ({ // setVisibleFolders(prev => ({
...prev, // ...prev,
[newAccount.id]: newAccount.folders // [newAccount.id]: newAccount.folders
})); // }));
}; };
// Debug folder rendering // Debug folder rendering