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

This commit is contained in:
shuaiplus
2026-04-29 00:20:17 +08:00
parent 68ded534a4
commit 3c5f43ecc2
5 changed files with 29 additions and 47 deletions
+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) {