From d3ebbe503c055f57a0f9c3c129c0c205b4517fa6 Mon Sep 17 00:00:00 2001 From: maziggy Date: Mon, 26 Jan 2026 09:22:06 +0100 Subject: [PATCH] Minor frontend test fixes --- frontend/src/contexts/AuthContext.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/contexts/AuthContext.tsx b/frontend/src/contexts/AuthContext.tsx index 1fd1ac1db..842d4007e 100644 --- a/frontend/src/contexts/AuthContext.tsx +++ b/frontend/src/contexts/AuthContext.tsx @@ -46,8 +46,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) { // Auth not enabled, allow access setUser(null); } - } catch (error) { - console.error('Failed to check auth status:', error); + } catch { setAuthEnabled(false); setUser(null); } finally {