diff --git a/src/app/portal/page.tsx b/src/app/portal/page.tsx index 535981c..3aed9c3 100644 --- a/src/app/portal/page.tsx +++ b/src/app/portal/page.tsx @@ -2,6 +2,9 @@ import { prisma } from "@/lib/db"; import { redirect } from "next/navigation"; import PortalClient from "./PortalClient"; +// Force dynamic rendering - this page needs database access +export const dynamic = 'force-dynamic'; + export default async function PortalPage() { const organization = await prisma.organization.findFirst();