feat: Removed comments

This commit is contained in:
mrhid6 committed 2026-07-24 09:51:30 +01:00
1 parent 3b52bcbeb8
commit 1a6cf03c03
94 files changed
+772 -937

No files matched your search

+4 -4
View File
@@ -51,10 +51,10 @@ export function AuthProvider({ children }: { children: ReactNode }) {
window.location.href = "/login";
return;
}
// Anything else (backend unreachable, org host mismatch) leaves us with
// no session. Rendering children here would mount the whole shell with
// user=null — every page would fire its own doomed API calls and the UI
// would read as a member view. Show the failure instead.
setError((err as Error).message || "Unable to load your session.");
setLoading(false);
}