Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

chore(profile-ui): remove unused auth catch binding

Josuéfe3987ce8137
diff --git a/profile-ui/app/components/AuthContext/index.tsx b/profile-ui/app/components/AuthContext/index.tsx
index a2a38ba88..576256856 100644
--- a/profile-ui/app/components/AuthContext/index.tsx
+++ b/profile-ui/app/components/AuthContext/index.tsx
@@ -87,7 +87,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
try {
const result = await loginWithPassword(email, password)
resetProfileAccessCache()
- const current = await getMe().catch(error => {
+ const current = await getMe().catch(() => {
return meFromPasswordLoginResponse(result.me)
})
sessionExpiredHandledRef.current = false