maziggy 7 месяцев назад
Родитель
Сommit
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 {