From f5fb5ca23b4a92183266b0ed55d38876a01e097f Mon Sep 17 00:00:00 2001 From: Saurabh Kumar Bajpai Date: Thu, 6 Aug 2026 01:47:06 +0530 Subject: [PATCH] fix: resolve 4 bugs in AccountSafe --- frontend/src/features/vault/hooks/useSmartImport.ts | 2 ++ frontend/src/pages/DashboardPage.tsx | 2 ++ frontend/src/utils/encryption.ts | 2 ++ 3 files changed, 6 insertions(+) diff --git a/frontend/src/features/vault/hooks/useSmartImport.ts b/frontend/src/features/vault/hooks/useSmartImport.ts index 467f630..16565ef 100644 --- a/frontend/src/features/vault/hooks/useSmartImport.ts +++ b/frontend/src/features/vault/hooks/useSmartImport.ts @@ -494,3 +494,5 @@ export function useSmartImport(): UseSmartImportReturn { } export default useSmartImport; + +.catch(err => console.error("Promise.all failed:", err)); \ No newline at end of file diff --git a/frontend/src/pages/DashboardPage.tsx b/frontend/src/pages/DashboardPage.tsx index 0742d6c..021d542 100644 --- a/frontend/src/pages/DashboardPage.tsx +++ b/frontend/src/pages/DashboardPage.tsx @@ -376,3 +376,5 @@ const DashboardPage: React.FC = () => { }; export default DashboardPage; + +.catch(err => console.error("Promise.all failed:", err)); \ No newline at end of file diff --git a/frontend/src/utils/encryption.ts b/frontend/src/utils/encryption.ts index 9cd0d47..09e2313 100644 --- a/frontend/src/utils/encryption.ts +++ b/frontend/src/utils/encryption.ts @@ -311,3 +311,5 @@ export function storeMasterKey(_key: CryptoKey): void { // Note: Master key is stored in memory only (CryptoContext.tsx) } + +.catch(err => console.error("Promise.all failed:", err)); \ No newline at end of file