Browse Source

Minor frontend test fixes

maziggy 4 months ago
parent
commit
d3ebbe503c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      frontend/src/contexts/AuthContext.tsx

+ 1 - 2
frontend/src/contexts/AuthContext.tsx

@@ -46,8 +46,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
         // Auth not enabled, allow access
         // Auth not enabled, allow access
         setUser(null);
         setUser(null);
       }
       }
-    } catch (error) {
-      console.error('Failed to check auth status:', error);
+    } catch {
       setAuthEnabled(false);
       setAuthEnabled(false);
       setUser(null);
       setUser(null);
     } finally {
     } finally {