courrier multi account restore compose
This commit is contained in:
parent
49bd135347
commit
091f915f8f
@ -185,7 +185,10 @@ export default function CourrierPage() {
|
||||
// Debug accounts state
|
||||
useEffect(() => {
|
||||
console.log('Current accounts state:', accounts);
|
||||
}, [accounts]);
|
||||
console.log('Expanded accounts:', expandedAccounts);
|
||||
console.log('Selected account:', selectedAccount);
|
||||
console.log('Show folders:', showFolders);
|
||||
}, [accounts, expandedAccounts, selectedAccount, showFolders]);
|
||||
|
||||
// Debug selectedAccount state
|
||||
useEffect(() => {
|
||||
@ -697,6 +700,14 @@ export default function CourrierPage() {
|
||||
}));
|
||||
};
|
||||
|
||||
// Debug folder rendering
|
||||
useEffect(() => {
|
||||
if (selectedAccount) {
|
||||
console.log('Selected account folders:', selectedAccount.folders);
|
||||
console.log('Is account expanded:', expandedAccounts[selectedAccount.id]);
|
||||
}
|
||||
}, [selectedAccount, expandedAccounts]);
|
||||
|
||||
return (
|
||||
<>
|
||||
<SimplifiedLoadingFix />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user