diff --git a/app/auth/sign-in/page.tsx b/app/auth/sign-in/page.tsx index 6dc3d8a2..016c1157 100644 --- a/app/auth/sign-in/page.tsx +++ b/app/auth/sign-in/page.tsx @@ -1,7 +1,15 @@ // app/auth/sign-in/page.tsx +import { Suspense } from "react"; import SignIn from "./sign-in"; +// Ensure this page renders at runtime (avoids SSG trying to pre-render a client-only page) +export const dynamic = "force-dynamic"; + export default function SignInPage() { - // Do NOT redirect here. Always render the form. - return ; + // Wrap the client component (which uses useSearchParams) in Suspense + return ( + Loading…}> + + + ); }