// AuthContext.tsx mein
const signInWithEmail = async (email: string, password: string) => {
if (!isBackendAvailable || !supabase) {
return { error: null }; // ❌ Silent failure
}
// No retry logic, no detailed error messages
}
Copy
typescript
Silent failures demo mode mein
Network errors handle nahi ho rahe
// AuthContext.tsx mein
const signInWithEmail = async (email: string, password: string) => {
if (!isBackendAvailable || !supabase) {
return { error: null }; // ❌ Silent failure
}
// No retry logic, no detailed error messages
}
Copy
typescript
Silent failures demo mode mein
Network errors handle nahi ho rahe