diff --git a/frontend/src/features/vault/hooks/useProfiles.ts b/frontend/src/features/vault/hooks/useProfiles.ts index 5aa4bd4..715af0a 100644 --- a/frontend/src/features/vault/hooks/useProfiles.ts +++ b/frontend/src/features/vault/hooks/useProfiles.ts @@ -607,3 +607,5 @@ export function useProfiles( } export default useProfiles; + +.catch(err => console.error("Promise.all failed:", err)); \ No newline at end of file diff --git a/frontend/src/pages/RegisterPage.tsx b/frontend/src/pages/RegisterPage.tsx index 36c4427..f24c205 100644 --- a/frontend/src/pages/RegisterPage.tsx +++ b/frontend/src/pages/RegisterPage.tsx @@ -227,7 +227,7 @@ const RegisterPage: React.FC = () => {
); } - if (isUsernameAvailable === true) return