From 996ebe475733c2ac879fe50c483210ad6c41b0b5 Mon Sep 17 00:00:00 2001 From: makearmy Date: Tue, 30 Sep 2025 12:50:44 -0400 Subject: [PATCH] account page render fix --- app/auth/sign-in/page.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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…}> + + + ); }