mirror of
https://github.com/root-fr/jmap-webmail.git
synced 2026-10-30 00:07:15 +00:00
fix: remove unused error variable in empty folder catch
This commit is contained in:
@@ -1198,7 +1198,7 @@ export const useEmailStore = create<EmailStore>((set, get) => ({
|
||||
await client.batchDeleteEmails(ids);
|
||||
totalDeleted += ids.length;
|
||||
onProgress?.(totalDeleted, totalEmails);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
throw new Error(`Deleted ${totalDeleted} of ${totalEmails} emails before failure`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user