feat: refactor website icon handling by moving utility functions to a dedicated module

This commit is contained in:
shuaiplus committed 2026-04-29 00:20:17 +08:00
1 parent 68ded534a4
commit 3c5f43ecc2
5 files changed
+29 -47

No files matched your search

+3 -1
View File
@@ -118,7 +118,9 @@ export default function useVaultSendActions(options: UseVaultSendActionsOptions)
if (options?.includeFolders) {
tasks.push(Promise.resolve(refetchFolders()));
}
void Promise.all(tasks).catch(() => undefined);
void Promise.all(tasks).catch((err) => {
console.warn('Background vault sync failed:', err);
});
};
async function decryptAndPatch(encrypted: Cipher) {