fixed a bit of stuff the current but API is broken again for logging in so will be fixing that with the next push

This commit is contained in:
bobbert committed 2025-03-14 19:33:13 +00:00
1 parent 6ad943a868
commit ea38775a82
20 files changed
+1643 -1027

No files matched your search

+11 -3
View File
@@ -1,7 +1,15 @@
'use client';
"use client";
import { SessionProvider } from "next-auth/react";
export function NextAuthProvider({ children }) {
return <SessionProvider>{children}</SessionProvider>;
}
// Add options to help debug the issue
return (
<SessionProvider
refetchInterval={0} // Disable background refetching during debug
refetchOnWindowFocus={false} // Disable refetching when window gets focus
>
{children}
</SessionProvider>
);
}