소스 검색

Minor frontend test fixes

maziggy 9 달 전
부모
커밋
d3ebbe503c
1개의 변경된 파일과 1개의 추가작업 그리고 2개의 파일을 삭제
  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
         setUser(null);
       }
-    } catch (error) {
-      console.error('Failed to check auth status:', error);
+    } catch {
       setAuthEnabled(false);
       setUser(null);
     } finally {